We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57cb511 commit b007ae7Copy full SHA for b007ae7
lightning/src/routing/gossip.rs
@@ -727,7 +727,7 @@ impl ChannelInfo {
727
728
/// Returns a [`DirectedChannelInfo`] for the channel directed from the given `source` to a
729
/// returned `target`, or `None` if `source` is not one of the channel's counterparties.
730
- pub fn as_directed_from(&self, source: &NodeId) -> Option<(DirectedChannelInfo, &NodeId)> {
+ pub(crate) fn as_directed_from(&self, source: &NodeId) -> Option<(DirectedChannelInfo, &NodeId)> {
731
let (direction, target) = {
732
if source == &self.node_one {
733
(self.one_to_two.as_ref(), &self.node_two)
0 commit comments