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.
as_directed_to
1 parent a913b97 commit b6fc161Copy full SHA for b6fc161
lightning/src/routing/network_graph.rs
@@ -662,7 +662,7 @@ pub struct ChannelInfo {
662
impl ChannelInfo {
663
/// Returns a [`DirectedChannelInfo`] for the channel directed to the given `target` from a
664
/// returned `source`, or `None` if `target` is not one of the channel's counterparties.
665
- pub fn as_directed_to(&self, target: &NodeId) -> Option<(DirectedChannelInfo, &NodeId)> {
+ pub(crate) fn as_directed_to(&self, target: &NodeId) -> Option<(DirectedChannelInfo, &NodeId)> {
666
let (direction, source) = {
667
if target == &self.node_one {
668
(self.two_to_one.as_ref(), &self.node_two)
0 commit comments