1
0
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:
kumavis 2017-02-15 16:30:04 -08:00 committed by GitHub
commit d5fcfd6078

View File

@ -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
})
}