@@ -73,7 +73,7 @@ pub(super) fn create_fwd_pending_htlc_info(
7373 } ;
7474
7575 let (
76- short_channel_id, amt_to_forward, outgoing_cltv_value, inbound_blinding_point
76+ short_channel_id, amt_to_forward, outgoing_cltv_value, intro_node_blinding_point
7777 ) = match hop_data {
7878 msgs:: InboundOnionPayload :: Forward { short_channel_id, amt_to_forward, outgoing_cltv_value } =>
7979 ( short_channel_id, amt_to_forward, outgoing_cltv_value, None ) ,
@@ -91,7 +91,7 @@ pub(super) fn create_fwd_pending_htlc_info(
9191 err_data : vec ! [ 0 ; 32 ] ,
9292 }
9393 } ) ?;
94- ( short_channel_id, amt_to_forward, outgoing_cltv_value, Some ( intro_node_blinding_point) )
94+ ( short_channel_id, amt_to_forward, outgoing_cltv_value, intro_node_blinding_point)
9595 } ,
9696 msgs:: InboundOnionPayload :: Receive { .. } | msgs:: InboundOnionPayload :: BlindedReceive { .. } =>
9797 return Err ( InboundHTLCErr {
@@ -105,7 +105,8 @@ pub(super) fn create_fwd_pending_htlc_info(
105105 routing : PendingHTLCRouting :: Forward {
106106 onion_packet : outgoing_packet,
107107 short_channel_id,
108- blinded : inbound_blinding_point. map ( |bp| BlindedForward { inbound_blinding_point : bp } ) ,
108+ blinded : intro_node_blinding_point. or ( msg. blinding_point )
109+ . map ( |bp| BlindedForward { inbound_blinding_point : bp } ) ,
109110 } ,
110111 payment_hash : msg. payment_hash ,
111112 incoming_shared_secret : shared_secret,
0 commit comments