mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 20:39:08 +01:00
Merge pull request #581 from MetaMask/i484PersistPendingSignatures
Fix bug where unconfirmed message sig is lost when locked.
This commit is contained in:
commit
07e5f94da8
@ -5,6 +5,7 @@
|
||||
- Added static image as fallback for when WebGL isn't supported.
|
||||
- Transaction history now has a hard limit.
|
||||
- Added info link on account screen that visits Etherscan.
|
||||
- Fixed bug where a message signing request would be lost if the vault was locked.
|
||||
- Added shortcut to open MetaMask (Ctrl+Alt+M or Cmd+Opt/Alt+M)
|
||||
- Prevent API calls in tests.
|
||||
- Fixed bug where sign message confirmation would sometimes render blank.
|
||||
|
@ -208,6 +208,7 @@ module.exports = class MetamaskController {
|
||||
newUnsignedMessage (msgParams, cb) {
|
||||
var state = this.idStore.getState()
|
||||
if (!state.isUnlocked) {
|
||||
this.idStore.addUnconfirmedMessage(msgParams, cb)
|
||||
this.opts.unlockAccountMessage()
|
||||
} else {
|
||||
this.addUnconfirmedMessage(msgParams, cb)
|
||||
|
Loading…
Reference in New Issue
Block a user