Skip to content

Commit

Permalink
Remove obsolete brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
Nashatyrev committed Oct 21, 2024
1 parent 0a6feac commit 1defc23
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ open class GossipRouter(
if (topicMeshPeers != null) {
// we are subscribed to the topic
val addFromNonMeshCount = max(0, params.D - topicMeshPeers.size)
val nonMeshTopicPeers = (getTopicPeers(topic) - topicMeshPeers)
val nonMeshTopicPeers = getTopicPeers(topic) - topicMeshPeers
topicMeshPeers + nonMeshTopicPeers.shuffled(random).take(addFromNonMeshCount)
} else {
// we are not subscribed to the topic
Expand Down

0 comments on commit 1defc23

Please sign in to comment.