From ca4ba19a5ebaf9429932a58ff0db51fc5c7a34cc Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Sun, 13 Mar 2022 20:42:34 -0400 Subject: [PATCH] fixes #3577 --- lbry/wallet/wallet.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lbry/wallet/wallet.py b/lbry/wallet/wallet.py index 61dede67b..7b9ee1bb5 100644 --- a/lbry/wallet/wallet.py +++ b/lbry/wallet/wallet.py @@ -203,11 +203,12 @@ class Wallet: return True return False - def unlock(self, password): + async def unlock(self, password): for account in self.accounts: if account.encrypted: if not account.decrypt(password): return False + await account.deterministic_channel_keys.ensure_cache_primed() self.encryption_password = password return True