From e0e38b879f4d8ea367a0ea77be633d0b4d6762fa Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Mon, 12 Sep 2016 11:21:27 -0700 Subject: Fix some references --- app/scripts/lib/idStore.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/scripts/lib/idStore.js') 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, }) -- cgit v1.2.3