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

Add one wallet to new accounts instead of three.
feature/default_network_editable
kumavis 8 years ago committed by GitHub
commit 506fe5836f
  1. 1
      CHANGELOG.md
  2. 2
      app/scripts/lib/idStore.js

@ -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

@ -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

Loading…
Cancel
Save