aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-11-19 03:37:07 +0800
committerDan Finlay <dan@danfinlay.com>2016-11-19 03:37:07 +0800
commitce1c5eb75a17f6a5fca9fce1a6d400e690ecabf7 (patch)
tree6c17cf7796d3a3e0b50bb04402ee9f15b16a6894 /app
parentcd2442e3e77e50c935b5c84e6ccc8f3c7da45de0 (diff)
downloadtangerine-wallet-browser-ce1c5eb75a17f6a5fca9fce1a6d400e690ecabf7.tar
tangerine-wallet-browser-ce1c5eb75a17f6a5fca9fce1a6d400e690ecabf7.tar.gz
tangerine-wallet-browser-ce1c5eb75a17f6a5fca9fce1a6d400e690ecabf7.tar.bz2
tangerine-wallet-browser-ce1c5eb75a17f6a5fca9fce1a6d400e690ecabf7.tar.lz
tangerine-wallet-browser-ce1c5eb75a17f6a5fca9fce1a6d400e690ecabf7.tar.xz
tangerine-wallet-browser-ce1c5eb75a17f6a5fca9fce1a6d400e690ecabf7.tar.zst
tangerine-wallet-browser-ce1c5eb75a17f6a5fca9fce1a6d400e690ecabf7.zip
Update migration code for new hd wallet param name
Diffstat (limited to 'app')
-rw-r--r--app/scripts/lib/idStore-migrator.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/lib/idStore-migrator.js b/app/scripts/lib/idStore-migrator.js
index 818364720..18134b677 100644
--- a/app/scripts/lib/idStore-migrator.js
+++ b/app/scripts/lib/idStore-migrator.js
@@ -37,11 +37,11 @@ module.exports = class IdentityStoreMigrator {
serializeVault () {
const mnemonic = this.idStore._idmgmt.getSeed()
- const n = this.idStore._getAddresses().length
+ const numberOfAccounts = this.idStore._getAddresses().length
return {
type: 'HD Key Tree',
- data: { mnemonic, n },
+ data: { mnemonic, numberOfAccounts },
}
}