aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-09-13 05:33:54 +0800
committerDan Finlay <dan@danfinlay.com>2016-09-13 05:33:54 +0800
commit1ba83766bb1ba52e79fae57882692d4cc0b64fdc (patch)
treeca6d928c31861187397871669ebfc5235e7fe5ab /app/scripts
parent2caac3c7d75c1ae94685c608f5f0ed7e470c1858 (diff)
downloadtangerine-wallet-browser-1ba83766bb1ba52e79fae57882692d4cc0b64fdc.tar
tangerine-wallet-browser-1ba83766bb1ba52e79fae57882692d4cc0b64fdc.tar.gz
tangerine-wallet-browser-1ba83766bb1ba52e79fae57882692d4cc0b64fdc.tar.bz2
tangerine-wallet-browser-1ba83766bb1ba52e79fae57882692d4cc0b64fdc.tar.lz
tangerine-wallet-browser-1ba83766bb1ba52e79fae57882692d4cc0b64fdc.tar.xz
tangerine-wallet-browser-1ba83766bb1ba52e79fae57882692d4cc0b64fdc.tar.zst
tangerine-wallet-browser-1ba83766bb1ba52e79fae57882692d4cc0b64fdc.zip
Load accounts into ethStore on unlock
Diffstat (limited to 'app/scripts')
-rw-r--r--app/scripts/lib/idStore.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/scripts/lib/idStore.js b/app/scripts/lib/idStore.js
index 0c6d7c2dd..16a86036a 100644
--- a/app/scripts/lib/idStore.js
+++ b/app/scripts/lib/idStore.js
@@ -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)