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