Rename idStoreMigrator method for clarity

Fixes #841
feature/default_network_editable
Dan Finlay 8 years ago
parent ecfda5bcc5
commit 9fb96128e6
  1. 2
      app/scripts/keyring-controller.js
  2. 2
      app/scripts/lib/idStore-migrator.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) {

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

Loading…
Cancel
Save