Merge pull request #3063 from jirijakes/upgrade-bitcoin-031
[rust-lightning] / lightning / src / ln / monitor_tests.rs
index 1c3fe3c4a69e0e31fed493c010114fe705664b9b..575d7d6b18e66d7a9aec6f47ec1b9eac2b372f2a 100644 (file)
@@ -2897,7 +2897,9 @@ fn test_event_replay_causing_monitor_replay() {
 
        let payment_preimage = route_payment(&nodes[0], &[&nodes[1]], 1_000_000).0;
 
-       do_claim_payment_along_route(&nodes[0], &[&[&nodes[1]]], false, payment_preimage);
+       do_claim_payment_along_route(
+               ClaimAlongRouteArgs::new(&nodes[0], &[&[&nodes[1]]], payment_preimage)
+       );
 
        // At this point the `PaymentSent` event has not been processed but the full commitment signed
        // dance has completed.