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