From 1cdfcd5b4e007de6a94a2febf01e498abc3f0e2a Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Thu, 29 Nov 2018 15:16:53 -0500 Subject: [PATCH] unlock wallet after encrypting it --- lbrynet/extras/wallet/manager.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lbrynet/extras/wallet/manager.py b/lbrynet/extras/wallet/manager.py index dc72bf97a..161e410dd 100644 --- a/lbrynet/extras/wallet/manager.py +++ b/lbrynet/extras/wallet/manager.py @@ -88,7 +88,8 @@ class LbryWalletManager(BaseWalletManager): account.encrypt(password) account.serialize_encrypted = True self.save() - return account.encrypted and account.serialize_encrypted + self.unlock_account(password, account) + return account.serialize_encrypted def unlock_account(self, password, account): assert account.encrypted, "account is not locked"