aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-09-13 05:34:45 +0800
committerDan Finlay <dan@danfinlay.com>2016-09-13 05:34:45 +0800
commit02b57adbf1c96df87f5a9ca77793eef71b45348e (patch)
tree4da1f5e1b7c1b44886c2ab7e31df3f7ca04f3964 /app
parent1ba83766bb1ba52e79fae57882692d4cc0b64fdc (diff)
downloadtangerine-wallet-browser-02b57adbf1c96df87f5a9ca77793eef71b45348e.tar
tangerine-wallet-browser-02b57adbf1c96df87f5a9ca77793eef71b45348e.tar.gz
tangerine-wallet-browser-02b57adbf1c96df87f5a9ca77793eef71b45348e.tar.bz2
tangerine-wallet-browser-02b57adbf1c96df87f5a9ca77793eef71b45348e.tar.lz
tangerine-wallet-browser-02b57adbf1c96df87f5a9ca77793eef71b45348e.tar.xz
tangerine-wallet-browser-02b57adbf1c96df87f5a9ca77793eef71b45348e.tar.zst
tangerine-wallet-browser-02b57adbf1c96df87f5a9ca77793eef71b45348e.zip
Linted
Diffstat (limited to 'app')
-rw-r--r--app/scripts/lib/idStore.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/lib/idStore.js b/app/scripts/lib/idStore.js
index 16a86036a..0c5260ffd 100644
--- a/app/scripts/lib/idStore.js
+++ b/app/scripts/lib/idStore.js
@@ -148,8 +148,8 @@ IdentityStore.prototype.revealAccount = function (cb) {
keyStore.setDefaultHdDerivationPath(this.hdPathString)
keyStore.generateNewAddress(derivedKey, 1)
- const addresses = ks.getAddresses();
- const address = addresses[ addresses.length -1 ]
+ const addresses = keyStore.getAddresses()
+ const address = addresses[ addresses.length - 1 ]
this._ethStore.addAccount(ethUtil.addHexPrefix(address))