Skip to content

Commit 5167adb

Browse files
committed
f mpp_retry_overpay test
1 parent 48d688d commit 5167adb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lightning/src/ln/payment_tests.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ fn mpp_retry_overpay() {
253253

254254
route.paths.remove(0);
255255
route_params.final_value_msat -= first_path_value;
256+
route.route_params.as_mut().map(|p| p.final_value_msat -= first_path_value);
256257
route_params.payment_params.previously_failed_channels.push(chan_4_update.contents.short_channel_id);
257258

258259
// Check the remaining max total routing fee for the second attempt accounts only for 1_000 msat

0 commit comments

Comments
 (0)