From ce8e659008d445529ae3654da64d40181916d9e0 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Sun, 6 Jun 2021 13:03:28 -0400 Subject: [PATCH] fix syncing claim to es where channel is in the same block --- 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 48473df05..9ed357330 100644 --- a/lbry/wallet/server/block_processor.py +++ b/lbry/wallet/server/block_processor.py @@ -344,8 +344,8 @@ class BlockProcessor: languages = list(set(claim_languages).union(set(reposted_languages))) canonical_url = f'{claim.name}#{claim.claim_hash.hex()}' if metadata.is_signed: - channel_txo = self.db.get_claim_txo(metadata.signing_channel_hash[::-1]) - canonical_url = f'{channel_txo[1].name}#{metadata.signing_channel_hash[::-1].hex()}/{canonical_url}' + channel_name = self._get_pending_claim_name(metadata.signing_channel_hash[::-1]) + canonical_url = f'{channel_name}#{metadata.signing_channel_hash[::-1].hex()}/{canonical_url}' value = { 'claim_hash': claim_hash[::-1],