From 88b8ca8a49922bd7f9b6fa90fa093bd5d0232dec Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Wed, 25 Jul 2018 14:59:10 -0400 Subject: [PATCH] Revert "negate wallet lock check in components" This reverts commit 32507d7 --- lbrynet/daemon/Daemon.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lbrynet/daemon/Daemon.py b/lbrynet/daemon/Daemon.py index 594c17158..e551ab6cc 100644 --- a/lbrynet/daemon/Daemon.py +++ b/lbrynet/daemon/Daemon.py @@ -177,9 +177,7 @@ class WalletIsLocked(RequiredCondition): @staticmethod def evaluate(component): - d = component.check_locked() - d.addCallback(lambda r: not r) - return d + return component.check_locked() class Daemon(AuthJSONRPCServer):