From bc0c1b9a3e3fa53840b8a7c51b9b88d12ea1a320 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Thu, 29 Jul 2021 19:23:29 -0400 Subject: [PATCH] fix _get_pending_claim_name --- lbry/wallet/server/block_processor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lbry/wallet/server/block_processor.py b/lbry/wallet/server/block_processor.py index 57585cd22..98563aaba 100644 --- a/lbry/wallet/server/block_processor.py +++ b/lbry/wallet/server/block_processor.py @@ -706,8 +706,8 @@ class BlockProcessor: def _get_pending_claim_name(self, claim_hash: bytes) -> Optional[str]: assert claim_hash is not None - if claim_hash in self.txo_to_claim: - return self.txo_to_claim[claim_hash].name + if claim_hash in self.claim_hash_to_txo: + return self.txo_to_claim[self.claim_hash_to_txo[claim_hash]].name claim_info = self.db.get_claim_txo(claim_hash) if claim_info: return claim_info.name