]> git.bitcoin.ninja Git - rust-lightning/commitdiff
remove obsolete comment
authorEvan Feenstra <evanfeenstra@gmail.com>
Tue, 14 Nov 2023 19:56:31 +0000 (11:56 -0800)
committerEvan Feenstra <evanfeenstra@gmail.com>
Tue, 14 Nov 2023 19:56:31 +0000 (11:56 -0800)
lightning/src/ln/channelmanager.rs

index 0cc11b5f491cd87c10cdeb59637f9d1e2a20f814..08d43c20a16cda4ac6949b1394b4151561367c72 100644 (file)
@@ -8006,8 +8006,6 @@ where
                                outgoing_amt_msat: amt_to_forward, outgoing_cltv_value
                        }
                },
-               // We'll do receive checks in [`Self::construct_pending_htlc_info`] so we have access to the
-               // inbound channel's state.
                onion_utils::Hop::Receive { .. } => return Ok((next_hop, shared_secret, None)),
                onion_utils::Hop::Forward { next_hop_data: msgs::InboundOnionPayload::Receive { .. }, .. } |
                        onion_utils::Hop::Forward { next_hop_data: msgs::InboundOnionPayload::BlindedReceive { .. }, .. } =>