mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Merge pull request #431 from MetaMask/one-wallet-one-future
Add one wallet to new accounts instead of three.
This commit is contained in:
commit
506fe5836f
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user