@@ -73,7 +73,7 @@ pub(super) fn create_fwd_pending_htlc_info(
73
73
} ;
74
74
75
75
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
77
77
) = match hop_data {
78
78
msgs:: InboundOnionPayload :: Forward { short_channel_id, amt_to_forward, outgoing_cltv_value } =>
79
79
( short_channel_id, amt_to_forward, outgoing_cltv_value, None ) ,
@@ -91,7 +91,7 @@ pub(super) fn create_fwd_pending_htlc_info(
91
91
err_data : vec ! [ 0 ; 32 ] ,
92
92
}
93
93
} ) ?;
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)
95
95
} ,
96
96
msgs:: InboundOnionPayload :: Receive { .. } | msgs:: InboundOnionPayload :: BlindedReceive { .. } =>
97
97
return Err ( InboundHTLCErr {
@@ -105,7 +105,8 @@ pub(super) fn create_fwd_pending_htlc_info(
105
105
routing : PendingHTLCRouting :: Forward {
106
106
onion_packet : outgoing_packet,
107
107
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 } ) ,
109
110
} ,
110
111
payment_hash : msg. payment_hash ,
111
112
incoming_shared_secret : shared_secret,
0 commit comments