Skip to content

Commit 32cde8f

Browse files
f fix bug
1 parent d278bb3 commit 32cde8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/routing/onion_message.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ pub fn find_path<L: Deref, GL: Deref>(
7979
} else if let Some(node_ann) = &node_info.announcement_info {
8080
if !node_ann.features.supports_onion_messages() || node_ann.features.requires_unknown_bits()
8181
{ continue; }
82-
}
82+
} else { continue; }
8383
for scid in &node_info.channels {
8484
if let Some(chan_info) = network_channels.get(&scid) {
8585
if let Some((_, successor)) = chan_info.as_directed_from(&node_id) {

0 commit comments

Comments
 (0)