negate wallet lock check in components

This commit is contained in:
Lex Berezhny 2018-07-25 01:28:19 -04:00
parent 2a00d00e44
commit 32507d74f7

View file

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