Skip to content

Commit 9638141

Browse files
f docs + TODO
1 parent d49eaa6 commit 9638141

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lightning/src/routing/onion_message.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ use prelude::*;
3434

3535
/// Finds a route from us to the given `destination` node.
3636
/// If we have private channels, it may be useful to fill in `first_hops` with the results from
37-
/// [`ChannelManager::list_usable_channels`].
37+
/// [`ChannelManager::list_usable_channels`]. If `first_hops` is not filled in, connected peers
38+
/// without public channels will not be forwarded over.
3839
///
3940
/// [`ChannelManager::list_usable_channels`]: crate::ln::channelmanager::ChannelManager::list_usable_channels
4041
pub fn find_path<L: Deref, GL: Deref>(

0 commit comments

Comments
 (0)