Update migration code for new hd wallet param name

feature/default_network_editable
Dan Finlay 8 years ago
parent cd2442e3e7
commit ce1c5eb75a
  1. 4
      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 },
}
}

Loading…
Cancel
Save