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:
commit
4669f262e2
@ -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) {
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user