Revert "negate wallet lock check in components"

This reverts commit 32507d7
This commit is contained in:
Lex Berezhny 2018-07-25 14:59:10 -04:00
parent 09f637496c
commit 88b8ca8a49

View file

@ -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):