From 52ff1a12ffd979d3b00d7136a1cdba1f9e1fa2aa Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Sat, 3 Jul 2021 11:48:04 -0400 Subject: [PATCH] fix undeleted claim_to_channel record --- lbry/wallet/server/block_processor.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lbry/wallet/server/block_processor.py b/lbry/wallet/server/block_processor.py index 74d0a054e..91d0cb529 100644 --- a/lbry/wallet/server/block_processor.py +++ b/lbry/wallet/server/block_processor.py @@ -676,8 +676,12 @@ class BlockProcessor: else: claim = self.db.get_claim_txo(claim_hash) assert claim is not None + signing_hash = Prefixes.channel_to_claim.unpack_key(k).signing_hash self.db_op_stack.extend([ RevertableDelete(k, claim_hash), + RevertableDelete( + *Prefixes.claim_to_channel.pack_item(claim_hash, claim.tx_num, claim.position, signing_hash) + ), RevertableDelete( *Prefixes.claim_to_txo.pack_item( claim_hash, claim.tx_num, claim.position, claim.root_tx_num, claim.root_position,