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