diff --git a/test/functional/feature_pruning.py b/test/functional/feature_pruning.py index eeb2a78ba6f..02f1191ffef 100755 --- a/test/functional/feature_pruning.py +++ b/test/functional/feature_pruning.py @@ -500,11 +500,11 @@ class PruneTest(BitcoinTestFramework): "start", [{"desc": f"raw({false_positive_spk.hex()})"}], 0, 0, "basic", {"filter_false_positives": True}) def test_pruneheight_undo_presence(self): - node = self.nodes[2] + node = self.nodes[5] pruneheight = node.getblockchaininfo()["pruneheight"] fetch_block = node.getblockhash(pruneheight - 1) - self.connect_nodes(1, 2) + self.connect_nodes(1, 5) peers = node.getpeerinfo() node.getblockfrompeer(fetch_block, peers[0]["id"]) self.wait_until(lambda: not try_rpc(-1, "Block not available (pruned data)", node.getblock, fetch_block), timeout=5)