forked from LBRYCommunity/lbry-sdk
fix channel integration test
This commit is contained in:
parent
248e04089b
commit
f50196d395
2 changed files with 5 additions and 5 deletions
|
@ -14,9 +14,9 @@ SPENDS_UPDATE_EVENT = Event.add("client.sync.spends.update", "steps")
|
||||||
CLAIMS_INSERT_EVENT = Event.add("client.sync.claims.insert", "claims")
|
CLAIMS_INSERT_EVENT = Event.add("client.sync.claims.insert", "claims")
|
||||||
CLAIMS_UPDATE_EVENT = Event.add("client.sync.claims.update", "claims")
|
CLAIMS_UPDATE_EVENT = Event.add("client.sync.claims.update", "claims")
|
||||||
CLAIMS_DELETE_EVENT = Event.add("client.sync.claims.delete", "claims")
|
CLAIMS_DELETE_EVENT = Event.add("client.sync.claims.delete", "claims")
|
||||||
SUPPORT_INSERT_EVENT = Event.add("client.sync.claims.insert", "supports")
|
SUPPORT_INSERT_EVENT = Event.add("client.sync.supports.insert", "supports")
|
||||||
SUPPORT_UPDATE_EVENT = Event.add("client.sync.claims.update", "supports")
|
SUPPORT_UPDATE_EVENT = Event.add("client.sync.supports.update", "supports")
|
||||||
SUPPORT_DELETE_EVENT = Event.add("client.sync.claims.delete", "supports")
|
SUPPORT_DELETE_EVENT = Event.add("client.sync.supports.delete", "supports")
|
||||||
|
|
||||||
|
|
||||||
def process_all_things_after_sync():
|
def process_all_things_after_sync():
|
||||||
|
|
|
@ -2655,9 +2655,9 @@ class API:
|
||||||
is_my_output=None, is_not_my_output=None,
|
is_my_output=None, is_not_my_output=None,
|
||||||
is_my_input=None, is_not_my_input=None):
|
is_my_input=None, is_not_my_input=None):
|
||||||
if is_spent:
|
if is_spent:
|
||||||
constraints['is_spent'] = True
|
constraints['spent_height__not'] = 0
|
||||||
elif is_not_spent:
|
elif is_not_spent:
|
||||||
constraints['is_spent'] = False
|
constraints['spent_height'] = 0
|
||||||
constraints['exclude_internal_transfers'] = exclude_internal_transfers
|
constraints['exclude_internal_transfers'] = exclude_internal_transfers
|
||||||
if is_my_input_or_output is True:
|
if is_my_input_or_output is True:
|
||||||
constraints['is_my_input_or_output'] = True
|
constraints['is_my_input_or_output'] = True
|
||||||
|
|
Loading…
Reference in a new issue