diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-09-11 02:46:50 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-09-11 02:46:50 +0800 |
commit | 6763871c416001e19c224b90a99ed7d9ece69158 (patch) | |
tree | c9029d5bdb7009b2eacd55ab3f074c1e41ea53b1 /app | |
parent | 6d6130e2a6d79a29d67995cbf4fa22ea4870ef69 (diff) | |
download | tangerine-wallet-browser-6763871c416001e19c224b90a99ed7d9ece69158.tar tangerine-wallet-browser-6763871c416001e19c224b90a99ed7d9ece69158.tar.gz tangerine-wallet-browser-6763871c416001e19c224b90a99ed7d9ece69158.tar.bz2 tangerine-wallet-browser-6763871c416001e19c224b90a99ed7d9ece69158.tar.lz tangerine-wallet-browser-6763871c416001e19c224b90a99ed7d9ece69158.tar.xz tangerine-wallet-browser-6763871c416001e19c224b90a99ed7d9ece69158.tar.zst tangerine-wallet-browser-6763871c416001e19c224b90a99ed7d9ece69158.zip |
Captured #640 in failing test
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/lib/idStore.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/scripts/lib/idStore.js b/app/scripts/lib/idStore.js index 9f4961b0b..d2d37b0f4 100644 --- a/app/scripts/lib/idStore.js +++ b/app/scripts/lib/idStore.js @@ -464,6 +464,11 @@ IdentityStore.prototype._createIdmgmt = function (password, seedPhrase, entropy, keyStore.keyFromPassword(password, (err, derivedKey) => { if (err) return cb(err) + this._ethStore._currentState = { + accounts: {}, + transactions: {}, + } + keyStore.addHdDerivationPath(this.hdPathString, derivedKey, {curve: 'secp256k1', purpose: 'sign'}) this._createFirstWallet(derivedKey) |