This commit is contained in:
Jack Robison 2021-07-22 13:21:12 -04:00
parent ac82617aa9
commit e33e767510
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -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,