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 | |
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.
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | app/scripts/lib/idStore.js | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3805b1c2c..63b981d89 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## Current Master - Fix rendering of recipient SVG in tx approval notification. +- New vaults now generate only one wallet instead of three. ## 2.6.0 2016-07-11 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 |