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 78f4152 commit 28ed4a5Copy full SHA for 28ed4a5
lightning/src/routing/gossip.rs
@@ -1075,7 +1075,7 @@ impl ChannelInfo {
1075
1076
/// Returns a [`DirectedChannelInfo`] for the channel directed from the given `source` to a
1077
/// returned `target`, or `None` if `source` is not one of the channel's counterparties.
1078
- pub fn as_directed_from(&self, source: &NodeId) -> Option<(DirectedChannelInfo<'_>, &NodeId)> {
+ pub(crate) fn as_directed_from(&self, source: &NodeId) -> Option<(DirectedChannelInfo<'_>, &NodeId)> {
1079
if self.one_to_two.is_none() || self.two_to_one.is_none() {
1080
return None;
1081
}
0 commit comments