forked from LBRYCommunity/lbry-sdk
fix test
This commit is contained in:
parent
8dd88a2780
commit
f52faa8d14
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ class LevelDB:
|
||||||
if claim_id:
|
if claim_id:
|
||||||
if len(claim_id) == 40: # a full claim id
|
if len(claim_id) == 40: # a full claim id
|
||||||
claim_txo = self.get_claim_txo(bytes.fromhex(claim_id))
|
claim_txo = self.get_claim_txo(bytes.fromhex(claim_id))
|
||||||
if normalized_name != claim_txo.name:
|
if not claim_txo or normalized_name != claim_txo.name:
|
||||||
return
|
return
|
||||||
return self._prepare_resolve_result(
|
return self._prepare_resolve_result(
|
||||||
claim_txo.tx_num, claim_txo.position, bytes.fromhex(claim_id), claim_txo.name,
|
claim_txo.tx_num, claim_txo.position, bytes.fromhex(claim_id), claim_txo.name,
|
||||||
|
|
Loading…
Reference in a new issue