From 4224f125034c9398aca63456890adf2002edc695 Mon Sep 17 00:00:00 2001 From: Dmitriy Ryajov Date: Mon, 14 Dec 2020 15:22:53 -0600 Subject: [PATCH] fix memory safety issue in tests (#484) --- tests/pubsub/testgossipsub.nim | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/pubsub/testgossipsub.nim b/tests/pubsub/testgossipsub.nim index ab5ce3463..723af5382 100644 --- a/tests/pubsub/testgossipsub.nim +++ b/tests/pubsub/testgossipsub.nim @@ -513,7 +513,8 @@ suite "GossipSub": var seen: Table[string, int] var seenFut = newFuture[void]() - for dialer in nodes: + for i in 0..