From 1bdaddb3191cf699037d72e7bf8ef4ef3d6cd636 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Sun, 6 Jun 2021 13:05:45 -0400 Subject: [PATCH] fix clearing pending_support caches upon abandon --- lbry/wallet/server/block_processor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lbry/wallet/server/block_processor.py b/lbry/wallet/server/block_processor.py index 5db30d723..99785bf51 100644 --- a/lbry/wallet/server/block_processor.py +++ b/lbry/wallet/server/block_processor.py @@ -797,6 +797,8 @@ class BlockProcessor: if prev_signing_hash and prev_signing_hash in self.pending_channel_counts: self.pending_channel_counts.pop(prev_signing_hash) + for support_txo_to_clear in self.pending_supports[claim_hash]: + self.pending_support_txos.pop(support_txo_to_clear) self.pending_supports[claim_hash].clear() self.pending_supports.pop(claim_hash)