pub fn check_claimed_htlc_channel<'a, 'b, 'c>(
    origin_node: &Node<'a, 'b, 'c>,
    path: &[&Node<'a, 'b, 'c>],
    htlc: &ClaimedHTLC,
)
Expand description

Checks whether the claimed HTLC for the specified path has the correct channel information.

This will panic if the path is empty, if the HTLC’s channel ID is not actually a channel that connects the final two nodes in the path, or if the user_channel_id is incorrect.