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 4345849 commit 18d77daCopy full SHA for 18d77da
lightning/src/routing/gossip.rs
@@ -755,7 +755,7 @@ impl ChannelInfo {
755
756
/// Returns a [`DirectedChannelInfo`] for the channel directed from the given `source` to a
757
/// returned `target`, or `None` if `source` is not one of the channel's counterparties.
758
- pub fn as_directed_from(&self, source: &NodeId) -> Option<(DirectedChannelInfo, &NodeId)> {
+ pub(crate) fn as_directed_from(&self, source: &NodeId) -> Option<(DirectedChannelInfo, &NodeId)> {
759
let (direction, target) = {
760
if source == &self.node_one {
761
(self.one_to_two.as_ref(), &self.node_two)
0 commit comments