aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2016-11-23 04:55:48 +0800
committerGitHub <noreply@github.com>2016-11-23 04:55:48 +0800
commit4669f262e2bad5052aac804c3cff8a8c5ee825e3 (patch)
treeaaa206d628c6da9c59bbea5f439ddacf308b340d /app/scripts
parente61d792832381a66e7393d32e1bc2c359834f919 (diff)
parent9fb96128e62294c88c6d3d2e177eb032543ffc50 (diff)
downloadtangerine-wallet-browser-4669f262e2bad5052aac804c3cff8a8c5ee825e3.tar
tangerine-wallet-browser-4669f262e2bad5052aac804c3cff8a8c5ee825e3.tar.gz
tangerine-wallet-browser-4669f262e2bad5052aac804c3cff8a8c5ee825e3.tar.bz2
tangerine-wallet-browser-4669f262e2bad5052aac804c3cff8a8c5ee825e3.tar.lz
tangerine-wallet-browser-4669f262e2bad5052aac804c3cff8a8c5ee825e3.tar.xz
tangerine-wallet-browser-4669f262e2bad5052aac804c3cff8a8c5ee825e3.tar.zst
tangerine-wallet-browser-4669f262e2bad5052aac804c3cff8a8c5ee825e3.zip
Merge pull request #857 from MetaMask/i841-RenameMethod
Rename idStoreMigrator method for clarity
Diffstat (limited to 'app/scripts')
-rw-r--r--app/scripts/keyring-controller.js2
-rw-r--r--app/scripts/lib/idStore-migrator.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/keyring-controller.js b/app/scripts/keyring-controller.js
index 989103993..bf6280016 100644
--- a/app/scripts/keyring-controller.js
+++ b/app/scripts/keyring-controller.js
@@ -119,7 +119,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