From 32507d74f7bb65db8624aa2378516196e63a2529 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Wed, 25 Jul 2018 01:28:19 -0400 Subject: [PATCH] negate wallet lock check in components --- lbrynet/daemon/Daemon.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lbrynet/daemon/Daemon.py b/lbrynet/daemon/Daemon.py index e551ab6cc..594c17158 100644 --- a/lbrynet/daemon/Daemon.py +++ b/lbrynet/daemon/Daemon.py @@ -177,7 +177,9 @@ class WalletIsLocked(RequiredCondition): @staticmethod def evaluate(component): - return component.check_locked() + d = component.check_locked() + d.addCallback(lambda r: not r) + return d class Daemon(AuthJSONRPCServer):