Skip to content

Commit ff38966

Browse files
authored
Merge pull request #248 from tnull/2024-02-fix-node-ann-broadcast
Fix trying node announcement broadcast for unannouced nodes
2 parents 6fef493 + dea1bb4 commit ff38966

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ impl<K: KVStore + Sync + Send + 'static> Node<K> {
654654
continue;
655655
}
656656

657-
if bcast_cm.list_channels().iter().any(|chan| chan.is_public) {
657+
if !bcast_cm.list_channels().iter().any(|chan| chan.is_public) {
658658
// Skip if we don't have any public channels.
659659
continue;
660660
}

0 commit comments

Comments
 (0)