fix clearing pending_support caches upon abandon

This commit is contained in:
Jack Robison 2021-06-06 13:05:45 -04:00
parent 7896e177ef
commit 1bdaddb319
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -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)