Mark `InFlightHtlcs::process_path` not exported due to object slice
[rust-lightning] / lightning / src / routing / gossip.rs
index 4ec68264dace6dfbf3fe5c61be621d452eb4b0a9..12b685fbff183b34c5241bc7c2a4f906b0449550 100644 (file)
@@ -806,7 +806,7 @@ impl ChannelInfo {
 
        /// Returns a [`DirectedChannelInfo`] for the channel directed from the given `source` to a
        /// returned `target`, or `None` if `source` is not one of the channel's counterparties.
-       pub fn as_directed_from(&self, source: &NodeId) -> Option<(DirectedChannelInfo, &NodeId)> {
+       pub(crate) fn as_directed_from(&self, source: &NodeId) -> Option<(DirectedChannelInfo, &NodeId)> {
                let (direction, target) = {
                        if source == &self.node_one {
                                (self.one_to_two.as_ref(), &self.node_two)