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:
parent
acdd168fbc
commit
95b846ba07
@ -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
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user