From 4d7e773c429ba94563f88136375935dcd37420ea Mon Sep 17 00:00:00 2001 From: Csaba Kiraly Date: Wed, 16 Mar 2022 21:32:21 +0100 Subject: [PATCH] fix tests: make bootstrap nodes async --- tests/dht/test_providers.nim | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/dht/test_providers.nim b/tests/dht/test_providers.nim index e952923..748930a 100644 --- a/tests/dht/test_providers.nim +++ b/tests/dht/test_providers.nim @@ -28,9 +28,9 @@ import proc bootstrapNodes( nodecount: int, - bootnodes: openArray[SignedPeerRecord], + bootnodes: seq[SignedPeerRecord], rng = keys.newRng() - ) : seq[(discv5_protocol.Protocol, keys.PrivateKey)] = + ) : Future[seq[(discv5_protocol.Protocol, keys.PrivateKey)]] {.async.} = for i in 0..