forked from LBRYCommunity/lbry-sdk
use normalized instead of claim_name for claim search
This commit is contained in:
parent
c57080711e
commit
72ddb0c195
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ def select_claims(cols: List = None, for_count=False, **constraints) -> Select:
|
||||||
constraints['reposted_claim_hash'] = unhexlify(constraints.pop('reposted_claim_id'))[::-1]
|
constraints['reposted_claim_hash'] = unhexlify(constraints.pop('reposted_claim_id'))[::-1]
|
||||||
|
|
||||||
if 'name' in constraints:
|
if 'name' in constraints:
|
||||||
constraints['claim_name'] = normalize_name(constraints.pop('name'))
|
constraints['normalized'] = normalize_name(constraints.pop('name'))
|
||||||
|
|
||||||
if 'public_key_id' in constraints:
|
if 'public_key_id' in constraints:
|
||||||
constraints['public_key_hash'] = (
|
constraints['public_key_hash'] = (
|
||||||
|
|
Loading…
Reference in a new issue