diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2016-11-19 03:53:53 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-19 03:53:53 +0800 |
commit | 626903e9f237163fe00132c777435caa845ad3f3 (patch) | |
tree | 6c17cf7796d3a3e0b50bb04402ee9f15b16a6894 | |
parent | cd2442e3e77e50c935b5c84e6ccc8f3c7da45de0 (diff) | |
parent | ce1c5eb75a17f6a5fca9fce1a6d400e690ecabf7 (diff) | |
download | tangerine-wallet-browser-626903e9f237163fe00132c777435caa845ad3f3.tar tangerine-wallet-browser-626903e9f237163fe00132c777435caa845ad3f3.tar.gz tangerine-wallet-browser-626903e9f237163fe00132c777435caa845ad3f3.tar.bz2 tangerine-wallet-browser-626903e9f237163fe00132c777435caa845ad3f3.tar.lz tangerine-wallet-browser-626903e9f237163fe00132c777435caa845ad3f3.tar.xz tangerine-wallet-browser-626903e9f237163fe00132c777435caa845ad3f3.tar.zst tangerine-wallet-browser-626903e9f237163fe00132c777435caa845ad3f3.zip |
Merge pull request #823 from MetaMask/FixBork
Update migration code for new hd wallet param name
-rw-r--r-- | app/scripts/lib/idStore-migrator.js | 4 |
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 }, } } |