forked from LBRYCommunity/lbry-sdk
negate wallet lock check in components
This commit is contained in:
parent
2a00d00e44
commit
32507d74f7
1 changed files with 3 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue