1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

Merge pull request #857 from MetaMask/i841-RenameMethod

Rename idStoreMigrator method for clarity
This commit is contained in:
kumavis 2016-11-22 15:55:48 -05:00 committed by GitHub
commit 4669f262e2
2 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ module.exports = class KeyringController extends EventEmitter {
.then((derivedKey) => { .then((derivedKey) => {
key = derivedKey key = derivedKey
this.key = key this.key = key
return this.idStoreMigrator.oldSeedForPassword(password) return this.idStoreMigrator.migratedVaultForPassword(password)
}) })
.then((serialized) => { .then((serialized) => {
if (serialized && shouldMigrate) { if (serialized && shouldMigrate) {

View File

@ -11,7 +11,7 @@ module.exports = class IdentityStoreMigrator {
} }
} }
oldSeedForPassword (password) { migratedVaultForPassword (password) {
const hasOldVault = this.hasOldVault() const hasOldVault = this.hasOldVault()
const configManager = this.configManager const configManager = this.configManager