forked from LBRYCommunity/lbry-sdk
fix clearing pending_support caches upon abandon
This commit is contained in:
parent
f4ca3ea66b
commit
35232b3650
1 changed files with 2 additions and 0 deletions
|
@ -797,6 +797,8 @@ class BlockProcessor:
|
||||||
if prev_signing_hash and prev_signing_hash in self.pending_channel_counts:
|
if prev_signing_hash and prev_signing_hash in self.pending_channel_counts:
|
||||||
self.pending_channel_counts.pop(prev_signing_hash)
|
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[claim_hash].clear()
|
||||||
self.pending_supports.pop(claim_hash)
|
self.pending_supports.pop(claim_hash)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue