We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a5ecb85 + 8a74369 commit f30dc85Copy full SHA for f30dc85
lightning/src/ln/payment_tests.rs
@@ -2917,7 +2917,7 @@ fn do_claim_from_closed_chan(fail_payment: bool) {
2917
let final_cltv = nodes[0].best_block_info().1 + TEST_FINAL_CLTV + 8 + 1;
2918
2919
nodes[0].router.expect_find_route(route_params.clone(), Ok(route.clone()));
2920
- nodes[0].node.send_payment_with_retry(payment_hash, &Some(payment_secret),
+ nodes[0].node.send_payment(payment_hash, RecipientOnionFields::secret_only(payment_secret),
2921
PaymentId(payment_hash.0), route_params.clone(), Retry::Attempts(1)).unwrap();
2922
check_added_monitors(&nodes[0], 2);
2923
let mut send_msgs = nodes[0].node.get_and_clear_pending_msg_events();
0 commit comments