Skip to content

Commit 6a6894e

Browse files
committed
f drop unecessary diff
1 parent 91036a3 commit 6a6894e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lightning/src/ln/functional_tests.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10479,14 +10479,12 @@ fn do_test_tx_confirmed_skipping_blocks_immediate_broadcast(test_height_before_t
1047910479
let node_chanmgrs = create_node_chanmgrs(3, &node_cfgs, &[None, None, None]);
1048010480
let mut nodes = create_network(3, &node_cfgs, &node_chanmgrs);
1048110481

10482+
*nodes[0].connect_style.borrow_mut() = ConnectStyle::BestBlockFirstSkippingBlocks;
10483+
1048210484
let node_a_id = nodes[0].node.get_our_node_id();
1048310485
let node_b_id = nodes[1].node.get_our_node_id();
1048410486
let node_c_id = nodes[2].node.get_our_node_id();
1048510487

10486-
*nodes[0].connect_style.borrow_mut() = ConnectStyle::BestBlockFirstSkippingBlocks;
10487-
10488-
let node_c_id = node_c_id;
10489-
1049010488
create_announced_chan_between_nodes(&nodes, 0, 1);
1049110489
let (chan_announce, _, channel_id, _) = create_announced_chan_between_nodes(&nodes, 1, 2);
1049210490
let (_, payment_hash, ..) = route_payment(&nodes[0], &[&nodes[1], &nodes[2]], 1_000_000);

0 commit comments

Comments
 (0)