mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
parent
ecfda5bcc5
commit
9fb96128e6
@ -121,7 +121,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