From ce1c5eb75a17f6a5fca9fce1a6d400e690ecabf7 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Fri, 18 Nov 2016 11:37:07 -0800 Subject: [PATCH] Update migration code for new hd wallet param name --- app/scripts/lib/idStore-migrator.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/scripts/lib/idStore-migrator.js b/app/scripts/lib/idStore-migrator.js index 818364720..18134b677 100644 --- a/app/scripts/lib/idStore-migrator.js +++ b/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 }, } }