mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Merge pull request #1123 from MetaMask/kumavis-patch-1
keyring controller - update memStore after restoreKeyring
This commit is contained in:
commit
d5fcfd6078
@ -169,6 +169,7 @@ class KeyringController extends EventEmitter {
|
||||
.then(() => this.persistAllKeyrings())
|
||||
.then(() => this.fullUpdate())
|
||||
.then(() => {
|
||||
this._updateMemStoreKeyrings()
|
||||
return keyring
|
||||
})
|
||||
}
|
||||
@ -424,6 +425,7 @@ class KeyringController extends EventEmitter {
|
||||
})
|
||||
.then(() => {
|
||||
this.keyrings.push(keyring)
|
||||
this._updateMemStoreKeyrings()
|
||||
return keyring
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user