Skip to content

Commit 4952891

Browse files
fix topology for preflight_probes_yield_event_skip_private_hop
1 parent f35da46 commit 4952891

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

lightning/src/ln/payment_tests.rs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1285,16 +1285,12 @@ fn preflight_probes_yield_event_skip_private_hop() {
12851285
let nodes = create_network(5, &node_cfgs, &node_chanmgrs);
12861286

12871287
// Setup channel topology:
1288-
// (1M:0)- N1 -(30k:0)
1289-
// / \
1290-
// N0 N4
1291-
// \ /
1292-
// (1M:0)- N2 -(70k:0)
1293-
//
1288+
// N0 <-(1M:0)-> N1 <-(1M:0)-> N2 <-(70k:0)-> N3 <-(50k:0)-> N4
1289+
12941290
create_announced_chan_between_nodes_with_value(&nodes, 0, 1, 1_000_000, 0);
12951291
create_announced_chan_between_nodes_with_value(&nodes, 1, 2, 1_000_000, 0);
12961292
create_announced_chan_between_nodes_with_value(&nodes, 2, 3, 70_000, 0);
1297-
create_unannounced_chan_between_nodes_with_value(&nodes, 3, 4, 30_000, 0);
1293+
create_unannounced_chan_between_nodes_with_value(&nodes, 3, 4, 50_000, 0);
12981294

12991295
let mut invoice_features = Bolt11InvoiceFeatures::empty();
13001296
invoice_features.set_basic_mpp_optional();

0 commit comments

Comments
 (0)