aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib/idStore.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-09-12 23:39:46 +0800
committerDan Finlay <dan@danfinlay.com>2016-09-12 23:39:46 +0800
commitf51a13abaf8808968db279c060ec360c174253c7 (patch)
treec0c79047c51563b1726f8761cdf3808dcdf9d5a0 /app/scripts/lib/idStore.js
parentc2105c4070c63c7ad6fbdc4c5be8f3f182a16b52 (diff)
downloadtangerine-wallet-browser-f51a13abaf8808968db279c060ec360c174253c7.tar
tangerine-wallet-browser-f51a13abaf8808968db279c060ec360c174253c7.tar.gz
tangerine-wallet-browser-f51a13abaf8808968db279c060ec360c174253c7.tar.bz2
tangerine-wallet-browser-f51a13abaf8808968db279c060ec360c174253c7.tar.lz
tangerine-wallet-browser-f51a13abaf8808968db279c060ec360c174253c7.tar.xz
tangerine-wallet-browser-f51a13abaf8808968db279c060ec360c174253c7.tar.zst
tangerine-wallet-browser-f51a13abaf8808968db279c060ec360c174253c7.zip
Fix ethStore pushed addresses
Needed to add hex prefix always.
Diffstat (limited to 'app/scripts/lib/idStore.js')
-rw-r--r--app/scripts/lib/idStore.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/lib/idStore.js b/app/scripts/lib/idStore.js
index afb91a335..337bf7254 100644
--- a/app/scripts/lib/idStore.js
+++ b/app/scripts/lib/idStore.js
@@ -494,7 +494,7 @@ IdentityStore.prototype._createFirstWallet = function (derivedKey) {
keyStore.generateNewAddress(derivedKey, 1)
this.configManager.setWallet(keyStore.serialize())
var addresses = keyStore.getAddresses()
- this._ethStore.addAccount(addresses[0])
+ this._ethStore.addAccount(ethUtil.addHexPrefix(addresses[0]))
}
// get addresses and normalize address hexString