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

Rename idStoreMigrator method for clarity

Fixes #841
This commit is contained in:
Dan Finlay 2016-11-21 19:52:56 -08:00
parent ecfda5bcc5
commit 9fb96128e6
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

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