Set update_add blinding point on HTLC forward
[rust-lightning] / lightning / src / ln / onion_payment.rs
index ca7c0dff20c2fd986c55310dba19586ed27ace3f..c10cdc9ab10ea61e3dbd2d3063835553d57acf2b 100644 (file)
@@ -56,6 +56,7 @@ pub(super) fn create_fwd_pending_htlc_info(
                routing: PendingHTLCRouting::Forward {
                        onion_packet: outgoing_packet,
                        short_channel_id,
+                       blinded: None,
                },
                payment_hash: msg.payment_hash,
                incoming_shared_secret: shared_secret,
@@ -414,7 +415,7 @@ mod tests {
                        .map_err(|e| e.msg).unwrap();
 
                let next_onion = match peeled.routing {
-                       PendingHTLCRouting::Forward { onion_packet, short_channel_id: _ } => {
+                       PendingHTLCRouting::Forward { onion_packet, .. } => {
                                onion_packet
                        },
                        _ => panic!("expected a forwarded onion"),