Skip to content

Commit 52a24a6

Browse files
committed
f update test for new retries
1 parent 2262987 commit 52a24a6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lightning/src/ln/payment_tests.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2490,8 +2490,7 @@ fn test_simple_partial_retry() {
24902490
nodes[0].router.expect_find_route(route_params.clone(), Ok(route.clone()));
24912491
let mut second_payment_params = route_params.payment_params.clone();
24922492
second_payment_params.previously_failed_channels = vec![chan_2_scid];
2493-
// We'll only have one retry left at the end, so we'll helpfully get a max_path_count of 1
2494-
second_payment_params.max_path_count = 1;
2493+
// On retry, we'll only be asked for one path (or 100k sats)
24952494
route.paths.remove(0);
24962495
nodes[0].router.expect_find_route(RouteParameters {
24972496
payment_params: second_payment_params,

0 commit comments

Comments
 (0)