diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-11-22 11:52:56 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-11-22 11:52:56 +0800 |
commit | 9fb96128e62294c88c6d3d2e177eb032543ffc50 (patch) | |
tree | 5b9f7b17c4b4a8f10cfeb3d1d9e5e6120b9c651c | |
parent | ecfda5bcc54bc444f3620a18a561847d0d2634dd (diff) | |
download | tangerine-wallet-browser-9fb96128e62294c88c6d3d2e177eb032543ffc50.tar tangerine-wallet-browser-9fb96128e62294c88c6d3d2e177eb032543ffc50.tar.gz tangerine-wallet-browser-9fb96128e62294c88c6d3d2e177eb032543ffc50.tar.bz2 tangerine-wallet-browser-9fb96128e62294c88c6d3d2e177eb032543ffc50.tar.lz tangerine-wallet-browser-9fb96128e62294c88c6d3d2e177eb032543ffc50.tar.xz tangerine-wallet-browser-9fb96128e62294c88c6d3d2e177eb032543ffc50.tar.zst tangerine-wallet-browser-9fb96128e62294c88c6d3d2e177eb032543ffc50.zip |
Rename idStoreMigrator method for clarity
Fixes #841
-rw-r--r-- | app/scripts/keyring-controller.js | 2 | ||||
-rw-r--r-- | app/scripts/lib/idStore-migrator.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/keyring-controller.js b/app/scripts/keyring-controller.js index cf761c88c..27cc791f0 100644 --- a/app/scripts/keyring-controller.js +++ b/app/scripts/keyring-controller.js @@ -121,7 +121,7 @@ module.exports = class KeyringController extends EventEmitter { .then((derivedKey) => { key = derivedKey this.key = key - return this.idStoreMigrator.oldSeedForPassword(password) + return this.idStoreMigrator.migratedVaultForPassword(password) }) .then((serialized) => { if (serialized && shouldMigrate) { diff --git a/app/scripts/lib/idStore-migrator.js b/app/scripts/lib/idStore-migrator.js index 18134b677..40b08efee 100644 --- a/app/scripts/lib/idStore-migrator.js +++ b/app/scripts/lib/idStore-migrator.js @@ -11,7 +11,7 @@ module.exports = class IdentityStoreMigrator { } } - oldSeedForPassword (password) { + migratedVaultForPassword (password) { const hasOldVault = this.hasOldVault() const configManager = this.configManager |