Allow users to provide custom TLVs through `RecipientOnionFields`
[rust-lightning] / lightning / src / ln / payment_tests.rs
index 7d639611df2873950af4f2bd0b5dfa7b7f7123c8..26ece931770f81202284455c4775d2cf9bf52693 100644 (file)
@@ -3424,7 +3424,7 @@ fn do_test_payment_metadata_consistency(do_reload: bool, do_modify: bool) {
 
        // Send the MPP payment, delivering the updated commitment state to nodes[1].
        nodes[0].node.send_payment(payment_hash, RecipientOnionFields {
-                       payment_secret: Some(payment_secret), payment_metadata: Some(payment_metadata),
+                       payment_secret: Some(payment_secret), payment_metadata: Some(payment_metadata), custom_tlvs: vec![],
                }, payment_id, route_params.clone(), Retry::Attempts(1)).unwrap();
        check_added_monitors!(nodes[0], 2);