mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
Load accounts into ethStore on unlock
This commit is contained in:
parent
2caac3c7d7
commit
1ba83766bb
@ -403,6 +403,7 @@ IdentityStore.prototype._loadIdentities = function () {
|
||||
var addresses = this._getAddresses()
|
||||
addresses.forEach((address, i) => {
|
||||
// // add to ethStore
|
||||
this._ethStore.addAccount(ethUtil.addHexPrefix(address))
|
||||
// add to identities
|
||||
const defaultLabel = 'Wallet ' + (i + 1)
|
||||
const nickname = configManager.nicknameForWallet(address)
|
||||
|
Loading…
Reference in New Issue
Block a user