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 5ef8642 commit 6143fb7Copy full SHA for 6143fb7
lightning/src/routing/gossip.rs
@@ -844,7 +844,7 @@ impl ChannelInfo {
844
845
/// Returns a [`DirectedChannelInfo`] for the channel directed from the given `source` to a
846
/// returned `target`, or `None` if `source` is not one of the channel's counterparties.
847
- pub fn as_directed_from(&self, source: &NodeId) -> Option<(DirectedChannelInfo, &NodeId)> {
+ pub(crate) fn as_directed_from(&self, source: &NodeId) -> Option<(DirectedChannelInfo, &NodeId)> {
848
let (direction, target) = {
849
if source == &self.node_one {
850
(self.one_to_two.as_ref(), &self.node_two)
0 commit comments