diff --git a/tests/pubsub/testgossipsub.nim b/tests/pubsub/testgossipsub.nim index f6ff8dde8..fb332f0e2 100644 --- a/tests/pubsub/testgossipsub.nim +++ b/tests/pubsub/testgossipsub.nim @@ -1142,8 +1142,8 @@ suite "GossipSub": asyncTest "spamming peer is disconnected and seen cache doesn't grow indefinitely": proc dumbMsgIdProvider(m: Message): Result[MessageId, ValidationResult] = ok(m.data) - let nodes = - generateNodes(2, gossip = true, msgIdProvider = dumbMsgIdProvider) + + let nodes = generateNodes(2, gossip = true, msgIdProvider = dumbMsgIdProvider) discard await allFinished(nodes[0].switch.start(), nodes[1].switch.start()) @@ -1178,7 +1178,7 @@ suite "GossipSub": let peer = gossip0.mesh[topic].toSeq[0] while gossip0.switch.isConnected(peer.peerId): var data = newSeq[byte](32) - for i in 0..