fix for has_channel_signature in claim_search
This commit is contained in:
parent
ca999053ae
commit
86b46ebf19
1 changed files with 2 additions and 2 deletions
|
@ -838,8 +838,8 @@ class SQLDB:
|
|||
'claim.signature_valid__is_null': True,
|
||||
'claim.signature_valid': constraints.pop('signature_valid')
|
||||
}
|
||||
elif 'has_channel_signature' in constraints:
|
||||
constraints['claim.signature_valid__is_not_null'] = constraints.pop('has_channel_signature')
|
||||
elif constraints.pop('has_channel_signature', False):
|
||||
constraints['claim.signature_valid__is_not_null'] = True
|
||||
|
||||
if 'txid' in constraints:
|
||||
tx_hash = unhexlify(constraints.pop('txid'))[::-1]
|
||||
|
|
Loading…
Reference in a new issue