forked from LBRYCommunity/lbry-sdk
fixes #3577
This commit is contained in:
parent
f05943ff79
commit
ca4ba19a5e
1 changed files with 2 additions and 1 deletions
|
@ -203,11 +203,12 @@ class Wallet:
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def unlock(self, password):
|
async def unlock(self, password):
|
||||||
for account in self.accounts:
|
for account in self.accounts:
|
||||||
if account.encrypted:
|
if account.encrypted:
|
||||||
if not account.decrypt(password):
|
if not account.decrypt(password):
|
||||||
return False
|
return False
|
||||||
|
await account.deterministic_channel_keys.ensure_cache_primed()
|
||||||
self.encryption_password = password
|
self.encryption_password = password
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue