1
0
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:
Dan Finlay 2016-09-12 14:33:54 -07:00
parent 2caac3c7d7
commit 1ba83766bb

View File

@ -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)