Merge pull request #857 from MetaMask/i841-RenameMethod

Rename idStoreMigrator method for clarity
feature/default_network_editable
kumavis 8 years ago committed by GitHub
commit 4669f262e2
  1. 2
      app/scripts/keyring-controller.js
  2. 2
      app/scripts/lib/idStore-migrator.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) {

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

Loading…
Cancel
Save