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

Merge pull request #823 from MetaMask/FixBork

Update migration code for new hd wallet param name
This commit is contained in:
Kevin Serrano 2016-11-18 11:53:53 -08:00 committed by GitHub
commit 626903e9f2

View File

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