diff options
author | kumavis <kumavis@users.noreply.github.com> | 2016-07-13 10:23:09 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-13 10:23:09 +0800 |
commit | 506fe5836f5873895959cac6b186e3dae02744ba (patch) | |
tree | a3a9fa5ee8db1e64d1cf9e66d9f6ed60d50528d8 /app | |
parent | 6537544463679499beb7ee48dba1049799da6030 (diff) | |
parent | 1f347c22b07d0515f4bc618b1bc619151d966591 (diff) | |
download | tangerine-wallet-browser-506fe5836f5873895959cac6b186e3dae02744ba.tar tangerine-wallet-browser-506fe5836f5873895959cac6b186e3dae02744ba.tar.gz tangerine-wallet-browser-506fe5836f5873895959cac6b186e3dae02744ba.tar.bz2 tangerine-wallet-browser-506fe5836f5873895959cac6b186e3dae02744ba.tar.lz tangerine-wallet-browser-506fe5836f5873895959cac6b186e3dae02744ba.tar.xz tangerine-wallet-browser-506fe5836f5873895959cac6b186e3dae02744ba.tar.zst tangerine-wallet-browser-506fe5836f5873895959cac6b186e3dae02744ba.zip |
Merge pull request #431 from MetaMask/one-wallet-one-future
Add one wallet to new accounts instead of three.
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/lib/idStore.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/lib/idStore.js b/app/scripts/lib/idStore.js index cbc8c1e48..133078668 100644 --- a/app/scripts/lib/idStore.js +++ b/app/scripts/lib/idStore.js @@ -465,7 +465,7 @@ IdentityStore.prototype._createFirstWallet = function (entropy, derivedKey) { keyStore.addHdDerivationPath(this.hdPathString, derivedKey, {curve: 'secp256k1', purpose: 'sign'}) keyStore.setDefaultHdDerivationPath(this.hdPathString) - keyStore.generateNewAddress(derivedKey, 3) + keyStore.generateNewAddress(derivedKey, 1) configManager.setWallet(keyStore.serialize()) console.log('saved to keystore') return keyStore |