From 2b2a1e8646b5a6b335edefa8e5ec3d67d9964bee Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Thu, 6 Oct 2022 00:17:00 +0100 Subject: [PATCH] Fix marking the successfully added spend bundles to the reinitialized mempool (the non optimized case) as seen when a new peak is available. (#13613) --- chia/full_node/mempool_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chia/full_node/mempool_manager.py b/chia/full_node/mempool_manager.py index 45bbc1b8fa66..ede3757e4998 100644 --- a/chia/full_node/mempool_manager.py +++ b/chia/full_node/mempool_manager.py @@ -576,7 +576,7 @@ async def new_peak( # successfully added to the new mempool. In this case, remove it from seen, so in the case of a reorg, # it can be resubmitted if result == MempoolInclusionStatus.SUCCESS: - self.seen(item.spend_bundle_name) + self.add_and_maybe_pop_seen(item.spend_bundle_name) potential_txs = self.potential_cache.drain() txs_added = []