Merge branch 'block6Test' into block6Test2

This commit is contained in:
shashankshampi 2024-10-10 19:18:23 +05:30
commit 567a456200
1 changed files with 1 additions and 2 deletions

View File

@ -157,7 +157,7 @@ suite "GossipSub Topic Membership Tests":
for topic in topicNames:
if gossipSub.topics.len < gossipSub.topicsHigh:
gossipSub.PubSub.subscribe(
gossipSub.subscribe(
topic,
proc(topic: string, data: seq[byte]): Future[void] {.async.} =
discard
@ -172,7 +172,6 @@ suite "GossipSub Topic Membership Tests":
doAssert gossipSub.topics.len <= gossipSub.topicsHigh
doAssert gossipSub.topics.len == gossipSub.topicsHigh
# Clean up by closing connections and stopping the GossipSub switch
await allFuturesThrowing(conns.mapIt(it.close()))
await gossipSub.switch.stop()