Merge pull request #1123 from MetaMask/kumavis-patch-1

keyring controller - update memStore after restoreKeyring
feature/default_network_editable
kumavis 8 years ago committed by GitHub
commit d5fcfd6078
  1. 2
      app/scripts/keyring-controller.js

@ -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…
Cancel
Save