1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Update migration code for new hd wallet param name

This commit is contained in:
Dan Finlay 2016-11-18 11:37:07 -08:00
parent cd2442e3e7
commit ce1c5eb75a

View File

@ -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 },
} }
} }