Merge pull request #431 from MetaMask/one-wallet-one-future

Add one wallet to new accounts instead of three.
This commit is contained in:
kumavis 2016-07-12 19:23:09 -07:00 committed by GitHub
commit 506fe5836f
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
## Current Master ## Current Master
- Fix rendering of recipient SVG in tx approval notification. - 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 ## 2.6.0 2016-07-11

View File

@ -465,7 +465,7 @@ IdentityStore.prototype._createFirstWallet = function (entropy, derivedKey) {
keyStore.addHdDerivationPath(this.hdPathString, derivedKey, {curve: 'secp256k1', purpose: 'sign'}) keyStore.addHdDerivationPath(this.hdPathString, derivedKey, {curve: 'secp256k1', purpose: 'sign'})
keyStore.setDefaultHdDerivationPath(this.hdPathString) keyStore.setDefaultHdDerivationPath(this.hdPathString)
keyStore.generateNewAddress(derivedKey, 3) keyStore.generateNewAddress(derivedKey, 1)
configManager.setWallet(keyStore.serialize()) configManager.setWallet(keyStore.serialize())
console.log('saved to keystore') console.log('saved to keystore')
return keyStore return keyStore