Watch all outputs irrespective of claimable outpoints.
[rust-lightning] / lightning / src / ln / blinded_payment_tests.rs
index 2a7635b5775c93fec20b3be11b1c81146a55ec3b..03c0e49fb4682899cef605c2a016491701b36edd 100644 (file)
@@ -1326,5 +1326,8 @@ fn custom_tlvs_to_blinded_path() {
                .with_payment_secret(payment_secret)
                .with_custom_tlvs(recipient_onion_fields.custom_tlvs.clone());
        do_pass_along_path(args);
-       claim_payment(&nodes[0], &[&nodes[1]], payment_preimage);
+       claim_payment_along_route(
+               ClaimAlongRouteArgs::new(&nodes[0], &[&[&nodes[1]]], payment_preimage)
+                       .with_custom_tlvs(recipient_onion_fields.custom_tlvs.clone())
+       );
 }