From 0fab92d911b02d792a99254494fc3cefb4eaa3ea Mon Sep 17 00:00:00 2001 From: Tom Trevethan Date: Thu, 21 Aug 2025 08:44:31 +0100 Subject: [PATCH] verify prune heights (cherry picked from commit 31e902c350c7d59a439997a4b75edb4bc3beeb2a) --- test/functional/feature_index_prune.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/feature_index_prune.py b/test/functional/feature_index_prune.py index 8871173db5..f7fbaf0ade 100755 --- a/test/functional/feature_index_prune.py +++ b/test/functional/feature_index_prune.py @@ -108,8 +108,8 @@ class FeatureIndexPruneTest(BitcoinTestFramework): self.log.info("prune exactly up to the indices best blocks while the indices are disabled") for i in range(3): - pruneheight_2 = self.nodes[i].pruneblockchain(700) # ELEMENTS FIXME: this should be 1000 - assert_equal(pruneheight_2, 589) # ELEMENTS FIXME: why this number? + pruneheight_2 = self.nodes[i].pruneblockchain(700) + assert_equal(pruneheight_2, 589) # prune height from disk serialization and default elements block file size. # Restart the nodes again with the indices activated self.restart_node(i, extra_args=self.extra_args[i])