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