diff options
-rw-r--r-- | app/scripts/lib/idStore.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/scripts/lib/idStore.js b/app/scripts/lib/idStore.js index c44429216..c4547b07f 100644 --- a/app/scripts/lib/idStore.js +++ b/app/scripts/lib/idStore.js @@ -91,10 +91,11 @@ IdentityStore.prototype.setSelectedAddress = function(address){ self._didUpdate() } -IdentityStore.prototype.setLocked = function(){ +IdentityStore.prototype.setLocked = function(cb){ const self = this delete self._keyStore delete self._idmgmt + cb() } IdentityStore.prototype.submitPassword = function(password, cb){ @@ -270,7 +271,7 @@ IdentityStore.prototype._createFirstWallet = function(entropy, derivedKey) { var keyStore = new LightwalletKeyStore(secretSeed, derivedKey) keyStore.generateNewAddress(derivedKey, 3) window.localStorage['lightwallet'] = keyStore.serialize() - console.log('wallet generated. saved to keystore localStorage') + console.log('saved to keystore localStorage') return keyStore } |