File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 8
8
from test_framework .address import ADDRESS_BCRT1_UNSPENDABLE
9
9
from test_framework .util import (
10
10
assert_equal ,
11
- connect_nodes_bi ,
11
+ connect_nodes ,
12
12
wait_until ,
13
13
)
14
14
@@ -33,7 +33,7 @@ def run_test(self):
33
33
assert_equal (self .nodes [1 ].getblockcount (), 6 )
34
34
35
35
self .log .info ("Connect nodes to force a reorg" )
36
- connect_nodes_bi (self .nodes , 0 , 1 )
36
+ connect_nodes (self .nodes [ 0 ] , 1 )
37
37
self .sync_blocks (self .nodes [0 :2 ])
38
38
assert_equal (self .nodes [0 ].getblockcount (), 6 )
39
39
badhash = self .nodes [1 ].getblockhash (2 )
@@ -44,7 +44,7 @@ def run_test(self):
44
44
assert_equal (self .nodes [0 ].getbestblockhash (), besthash_n0 )
45
45
46
46
self .log .info ("Make sure we won't reorg to a lower work chain:" )
47
- connect_nodes_bi (self .nodes , 1 , 2 )
47
+ connect_nodes (self .nodes [ 1 ] , 2 )
48
48
self .log .info ("Sync node 2 to node 1 so both have 6 blocks" )
49
49
self .sync_blocks (self .nodes [1 :3 ])
50
50
assert_equal (self .nodes [2 ].getblockcount (), 6 )
You can’t perform that action at this time.
0 commit comments