mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
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.
This commit is contained in:
parent
a0c7b0b1a2
commit
abb5b2013d
@ -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…
Reference in New Issue
Block a user