Fix bug where unconfirmed message sig is lost when locked.

Fixes #484

Adds unsigned messages to the in-memory message list before showing the unlock message.
feature/default_network_editable
Dan Finlay 8 years ago
parent a0c7b0b1a2
commit abb5b2013d
  1. 1
      app/scripts/metamask-controller.js

@ -208,6 +208,7 @@ module.exports = class MetamaskController {
newUnsignedMessage (msgParams, cb) {
var state = this.idStore.getState()
if (!state.isUnlocked) {
idStore.addUnconfirmedMessage(msgParams, cb)
this.opts.unlockAccountMessage()
} else {
this.addUnconfirmedMessage(msgParams, cb)

Loading…
Cancel
Save