From f52faa8d14ff37f59af71fb567a54abec2431fa5 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Thu, 22 Jul 2021 13:21:12 -0400 Subject: [PATCH] fix test --- lbry/wallet/server/leveldb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbry/wallet/server/leveldb.py b/lbry/wallet/server/leveldb.py index 432ba0a77..1c02208fb 100644 --- a/lbry/wallet/server/leveldb.py +++ b/lbry/wallet/server/leveldb.py @@ -279,7 +279,7 @@ class LevelDB: if claim_id: if len(claim_id) == 40: # a full 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 self._prepare_resolve_result( claim_txo.tx_num, claim_txo.position, bytes.fromhex(claim_id), claim_txo.name,