Remove the `final_cltv_expiry_delta` in `RouteParameters` entirely
[rust-lightning] / fuzz / src / router.rs
index 93de35c5d094783d8bdc4e9b6c6a935b39088f34..4c228cc731bc2d0981ad77c9a0e2ff444f243302 100644 (file)
@@ -301,7 +301,6 @@ pub fn do_test<Out: test_logger::Output>(data: &[u8], out: Out) {
                                                payment_params: PaymentParameters::from_node_id(*target, final_cltv_expiry_delta)
                                                        .with_route_hints(last_hops.clone()),
                                                final_value_msat,
-                                               final_cltv_expiry_delta,
                                        };
                                        let _ = find_route(&our_pubkey, &route_params, &net_graph,
                                                first_hops.map(|c| c.iter().collect::<Vec<_>>()).as_ref().map(|a| a.as_slice()),