diff --git a/test/functional/abc-parkedchain.py b/test/functional/abc-parkedchain.py --- a/test/functional/abc-parkedchain.py +++ b/test/functional/abc-parkedchain.py @@ -6,7 +6,7 @@ import os from test_framework.test_framework import BitcoinTestFramework -from test_framework.util import assert_equal, connect_nodes_bi, sync_blocks, wait_until +from test_framework.util import assert_equal, sync_blocks, wait_until class ParkedChainTest(BitcoinTestFramework): @@ -126,10 +126,9 @@ self.only_valid_tip(good_tip) # First, make sure both nodes are in sync. - parking_node = self.nodes[1] - connect_nodes_bi(self.nodes, 0, 1) - sync_blocks(self.nodes[0:2]) + sync_blocks(self.nodes) + parking_node = self.nodes[1] assert_equal(node.getbestblockhash(), parking_node.getbestblockhash()) # Wait for node 1 to park the chain.