Skip to content

Commit 2a88db9

Browse files
test: Fix feature_index_prune.py to explicitly disable indices
When BIP157 filters are enabled by default, the restart_without_indices function needs to explicitly disable both blockfilterindex and coinstatsindex to avoid conflicts with pruning.
1 parent 4412ced commit 2a88db9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/feature_index_prune.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def mine_batches(self, blocks):
5454

5555
def restart_without_indices(self):
5656
for i in range(3):
57-
self.restart_node(i, extra_args=["-fastprune", "-prune=1"] + DEPLOYMENT_ARGS, expected_stderr=EXPECTED_STDERR_NO_GOV_PRUNE)
57+
self.restart_node(i, extra_args=["-fastprune", "-prune=1", "-blockfilterindex=0", "-coinstatsindex=0"] + DEPLOYMENT_ARGS, expected_stderr=EXPECTED_STDERR_NO_GOV_PRUNE)
5858
self.reconnect_nodes()
5959

6060
def run_test(self):

0 commit comments

Comments
 (0)