Skip to content

Commit 476de1c

Browse files
committed
f drop unecessary diff
1 parent e6fda86 commit 476de1c

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
@@ -10477,14 +10477,12 @@ fn do_test_tx_confirmed_skipping_blocks_immediate_broadcast(test_height_before_t
1047710477
let node_chanmgrs = create_node_chanmgrs(3, &node_cfgs, &[None, None, None]);
1047810478
let mut nodes = create_network(3, &node_cfgs, &node_chanmgrs);
1047910479

10480+
*nodes[0].connect_style.borrow_mut() = ConnectStyle::BestBlockFirstSkippingBlocks;
10481+
1048010482
let node_a_id = nodes[0].node.get_our_node_id();
1048110483
let node_b_id = nodes[1].node.get_our_node_id();
1048210484
let node_c_id = nodes[2].node.get_our_node_id();
1048310485

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

0 commit comments

Comments
 (0)