aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-07-13 03:06:18 +0800
committerKevin Serrano <kevgagser@gmail.com>2016-07-13 03:06:18 +0800
commitecd0a3ec1e9dc5cf729903bbb831012346c813ee (patch)
treebbf6b6eb2df69de67769d90077a2fba3dac15b9b /app/scripts/lib
parent6537544463679499beb7ee48dba1049799da6030 (diff)
downloadtangerine-wallet-browser-ecd0a3ec1e9dc5cf729903bbb831012346c813ee.tar
tangerine-wallet-browser-ecd0a3ec1e9dc5cf729903bbb831012346c813ee.tar.gz
tangerine-wallet-browser-ecd0a3ec1e9dc5cf729903bbb831012346c813ee.tar.bz2
tangerine-wallet-browser-ecd0a3ec1e9dc5cf729903bbb831012346c813ee.tar.lz
tangerine-wallet-browser-ecd0a3ec1e9dc5cf729903bbb831012346c813ee.tar.xz
tangerine-wallet-browser-ecd0a3ec1e9dc5cf729903bbb831012346c813ee.tar.zst
tangerine-wallet-browser-ecd0a3ec1e9dc5cf729903bbb831012346c813ee.zip
Add one wallet to new accounts instead of three.
Diffstat (limited to 'app/scripts/lib')
-rw-r--r--app/scripts/lib/idStore.js2
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