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