From 40ffd9e3008cf6cc0f31a0fcedf1b3116e3866de Mon Sep 17 00:00:00 2001 From: Diego Date: Wed, 26 Jun 2024 11:48:18 +0200 Subject: [PATCH] formatting --- tests/pubsub/testgossipsub.nim | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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..