mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Remove dead reference
This commit is contained in:
parent
ea12be2c1b
commit
aefd17ef94
@ -106,7 +106,6 @@ class KeyringController extends EventEmitter {
|
|||||||
.then((accounts) => {
|
.then((accounts) => {
|
||||||
const firstAccount = accounts[0]
|
const firstAccount = accounts[0]
|
||||||
if (!firstAccount) throw new Error('KeyringController - First Account not found.')
|
if (!firstAccount) throw new Error('KeyringController - First Account not found.')
|
||||||
const hexAccount = normalizeAddress(firstAccount)
|
|
||||||
return this.setupAccounts(accounts)
|
return this.setupAccounts(accounts)
|
||||||
})
|
})
|
||||||
.then(this.persistAllKeyrings.bind(this, password))
|
.then(this.persistAllKeyrings.bind(this, password))
|
||||||
|
Loading…
Reference in New Issue
Block a user