We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a18391 commit 01fc221Copy full SHA for 01fc221
lightning/src/ln/channelmanager.rs
@@ -2686,7 +2686,9 @@ where
2686
// We'll do receive checks in [`Self::construct_pending_htlc_info`] so we have access to the
2687
// inbound channel's state.
2688
onion_utils::Hop::Receive { .. } => return Ok((next_hop, shared_secret)),
2689
- _ => {
+ onion_utils::Hop::Forward {
2690
+ next_hop_data: msgs::OnionHopData { format: msgs::OnionHopDataFormat::FinalNode { .. }, .. }, ..
2691
+ } => {
2692
return_err!("Final Node OnionHopData provided for us as an intermediary node", 0x4000 | 22, &[0; 0]);
2693
}
2694
};
0 commit comments