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 629f8fa commit 7230256Copy full SHA for 7230256
lightning/src/routing/onion_message.rs
@@ -75,6 +75,7 @@ pub fn find_path<L: Deref, GL: Deref>(
75
return Ok(path)
76
}
77
if let Some(node_info) = network_nodes.get(&node_id) {
78
+ // Only consider the network graph if first_hops does not override it.
79
if valid_first_hops.contains(&node_id) || node_id == our_node_id {
80
} else if let Some(node_ann) = &node_info.announcement_info {
81
if !node_ann.features.supports_onion_messages() || node_ann.features.requires_unknown_bits()
0 commit comments