claim search test fix

This commit is contained in:
Lex Berezhny 2019-05-30 21:57:49 -04:00
parent 5d5e36a2c2
commit 26dd6d2ac7

View file

@ -663,6 +663,7 @@ class SQLDB:
if constraints.pop('is_controlling', False):
if {'sequence', 'amount_order'}.isdisjoint(constraints):
join = True
constraints['claimtrie.claim_hash__is_not_null'] = ''
if 'sequence' in constraints:
constraints['order_by'] = 'claim.activation_height ASC'