negate wallet lock check in components
This commit is contained in:
1 parent
2a00d00e44
commit
32507d74f7
1 file changed
+3
-1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user