Skip to content

Commit

Permalink
Merge pull request #314 from tnull/2024-06-only-broadcast-node-ann-wh…
Browse files Browse the repository at this point in the history
…en-ready
  • Loading branch information
tnull authored Jun 17, 2024
2 parents 0e02969 + bc1fac3 commit 4201760
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -580,8 +580,8 @@ impl Node {
continue;
}

if !bcast_cm.list_channels().iter().any(|chan| chan.is_public) {
// Skip if we don't have any public channels.
if !bcast_cm.list_channels().iter().any(|chan| chan.is_public && chan.is_channel_ready) {
// Skip if we don't have any public channels that are ready.
continue;
}

Expand Down

0 comments on commit 4201760

Please sign in to comment.