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 8546a9a commit c2cfb2aCopy full SHA for c2cfb2a
rolling-shutter/p2p/floodsubpeerdiscovery/gossippeerdiscovery.go
@@ -104,10 +104,6 @@ func (pd *FloodsubPeerDiscovery) broadcast() error {
104
}
105
106
for _, topic := range pd.Topics {
107
- if len(pd.Pubsub.ListPeers(topic.String())) == 0 {
108
- log.Info().Msgf("skipping broadcasting our peer data on topic %s because there are no peers present", topic)
109
- continue
110
- }
111
log.Info().Msgf("broadcasting our peer data on topic %s", topic)
112
113
if err := topic.Publish(context.Background(), pbPeer); err != nil {
0 commit comments