aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-09-13 02:21:27 +0800
committerDan Finlay <dan@danfinlay.com>2016-09-13 02:21:27 +0800
commite0e38b879f4d8ea367a0ea77be633d0b4d6762fa (patch)
treeaf1633d0e1b201350d4a46225e2033af754cf37c /app
parent363c2a0939aba5fa73e08ff8e6d65581031242d5 (diff)
downloadtangerine-wallet-browser-e0e38b879f4d8ea367a0ea77be633d0b4d6762fa.tar
tangerine-wallet-browser-e0e38b879f4d8ea367a0ea77be633d0b4d6762fa.tar.gz
tangerine-wallet-browser-e0e38b879f4d8ea367a0ea77be633d0b4d6762fa.tar.bz2
tangerine-wallet-browser-e0e38b879f4d8ea367a0ea77be633d0b4d6762fa.tar.lz
tangerine-wallet-browser-e0e38b879f4d8ea367a0ea77be633d0b4d6762fa.tar.xz
tangerine-wallet-browser-e0e38b879f4d8ea367a0ea77be633d0b4d6762fa.tar.zst
tangerine-wallet-browser-e0e38b879f4d8ea367a0ea77be633d0b4d6762fa.zip
Fix some references
Diffstat (limited to 'app')
-rw-r--r--app/scripts/lib/idStore.js4
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,
})