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:
parent
cd2442e3e7
commit
ce1c5eb75a
@ -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…
Reference in New Issue
Block a user