Skip to content

Commit fd32e57

Browse files
committed
fix: update number of blocks before pruning for feature_index_prune.py
1 parent 2127f99 commit fd32e57

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/functional/feature_index_prune.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
)
1212
from test_framework.governance import EXPECTED_STDERR_NO_GOV_PRUNE
1313

14-
# TODO: remove testactivationheight=v20@3000 when it will be activated from block 1
1514
DEPLOYMENT_ARGS = ["-testactivationheight=v20@3000", "-dip3params=3000:3000"]
1615

1716
class FeatureIndexPruneTest(BitcoinTestFramework):
@@ -145,7 +144,7 @@ def run_test(self):
145144
for node in self.nodes[:2]:
146145
with node.assert_debug_log(['limited pruning to height 2489']):
147146
pruneheight_new = node.pruneblockchain(2500)
148-
assert_equal(pruneheight_new, 2125)
147+
assert_equal(pruneheight_new, 2196)
149148

150149
self.log.info("ensure that prune locks don't prevent indices from failing in a reorg scenario")
151150
with self.nodes[0].assert_debug_log(['basic block filter index prune lock moved back to 2480']):

0 commit comments

Comments
 (0)