1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

keymanager - small clean

This commit is contained in:
kumavis 2017-01-26 22:31:06 -08:00
parent acdd168fbc
commit 95b846ba07

View File

@ -204,8 +204,8 @@ module.exports = class KeyringController extends EventEmitter {
this.keyrings.push(keyring) this.keyrings.push(keyring)
return this.setupAccounts(accounts) return this.setupAccounts(accounts)
}) })
.then(() => { return this.password }) .then(() => this.persistAllKeyrings())
.then(this.persistAllKeyrings.bind(this)) .then(() => this.fullUpdate())
.then(() => { .then(() => {
return keyring return keyring
}) })