Merge pull request #823 from MetaMask/FixBork

Update migration code for new hd wallet param name
feature/default_network_editable
Kevin Serrano 8 years ago committed by GitHub
commit 626903e9f2
  1. 4
      app/scripts/lib/idStore-migrator.js

@ -37,11 +37,11 @@ module.exports = class IdentityStoreMigrator {
serializeVault () { serializeVault () {
const mnemonic = this.idStore._idmgmt.getSeed() const mnemonic = this.idStore._idmgmt.getSeed()
const n = this.idStore._getAddresses().length const numberOfAccounts = this.idStore._getAddresses().length
return { return {
type: 'HD Key Tree', type: 'HD Key Tree',
data: { mnemonic, n }, data: { mnemonic, numberOfAccounts },
} }
} }

Loading…
Cancel
Save