diff options
Fix some references
Diffstat (limited to 'app/scripts/lib/idStore.js')
-rw-r--r-- | app/scripts/lib/idStore.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/lib/idStore.js b/app/scripts/lib/idStore.js index 1126b83e7..4160466e1 100644 --- a/app/scripts/lib/idStore.js +++ b/app/scripts/lib/idStore.js @@ -449,7 +449,7 @@ IdentityStore.prototype.tryPassword = function (password, cb) { const isCorrect = keyStore.isDerivedKeyCorrect(pwDerivedKey) if (!isCorrect) return cb(new Error('Lightwallet - password incorrect')) - this._createIdMgmt(derivedKey) + this._createIdMgmt(pwDerivedKey) cb() }) } @@ -487,7 +487,7 @@ IdentityStore.prototype._createVault = function (password, seedPhrase, entropy, IdentityStore.prototype._createIdMgmt = function (derivedKey) { this._idmgmt = new IdManagement({ - keyStore: this.keyStore, + keyStore: this._keyStore, derivedKey: derivedKey, configManager: this.configManager, }) |