We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d68b60 commit 143b8b3Copy full SHA for 143b8b3
lightning/src/ln/msgs.rs
@@ -1701,6 +1701,7 @@ mod fuzzy_internal_msgs {
1701
payment_constraints: PaymentConstraints,
1702
intro_node_blinding_point: Option<PublicKey>,
1703
keysend_preimage: Option<PaymentPreimage>,
1704
+ custom_tlvs: Vec<(u64, Vec<u8>)>,
1705
}
1706
1707
@@ -2683,6 +2684,7 @@ impl<NS: Deref> ReadableArgs<(Option<PublicKey>, &NS)> for InboundOnionPayload w
2683
2684
payment_constraints,
2685
intro_node_blinding_point,
2686
keysend_preimage,
2687
+ custom_tlvs,
2688
})
2689
},
2690
lightning/src/ln/onion_payment.rs
@@ -139,7 +139,7 @@ pub(super) fn create_recv_pending_htlc_info(
139
cltv_expiry_height, payment_metadata, false),
140
msgs::InboundOnionPayload::BlindedReceive {
141
sender_intended_htlc_amt_msat, total_msat, cltv_expiry_height, payment_secret,
142
- intro_node_blinding_point, payment_constraints, keysend_preimage, ..
+ intro_node_blinding_point, payment_constraints, keysend_preimage, custom_tlvs
143
} => {
144
check_blinded_payment_constraints(
145
sender_intended_htlc_amt_msat, cltv_expiry, &payment_constraints
@@ -152,7 +152,7 @@ pub(super) fn create_recv_pending_htlc_info(
152
153
})?;
154
let payment_data = msgs::FinalOnionHopData { payment_secret, total_msat };
155
- (Some(payment_data), keysend_preimage, Vec::new(),
+ (Some(payment_data), keysend_preimage, custom_tlvs,
156
sender_intended_htlc_amt_msat, cltv_expiry_height, None,
157
intro_node_blinding_point.is_none())
158
0 commit comments