app/scripts/keyring-controller.js
// Attempts to sign the provided @object msgParams.
Attempts to sign the provided @object msgParams.
Attempts to sign the provided @object msgParams .
signMessage (msgParams) {
    const address = normalizeAddress(msgParams.from)
    return this.getKeyringForAccount(address)
    .then((keyring) => {
      return keyring.signMessage(address, msgParams.data)
    })
  }
signMessage ( msgParams ) { const address = normalizeAddress ( msgParams . from ) return this . getKeyringForAccount ( address ) . then ( ( keyring ) => { return keyring . signMessage ( address , msgParams . data ) } ) }
Attempts to sign the provided @object msgParams.
Attempts to sign the provided @object msgParams .