diff --git a/libp2p/protocols/pubsub/gossipsub.nim b/libp2p/protocols/pubsub/gossipsub.nim index b154139..c2584af 100644 --- a/libp2p/protocols/pubsub/gossipsub.nim +++ b/libp2p/protocols/pubsub/gossipsub.nim @@ -452,7 +452,7 @@ method stop*(g: GossipSub) {.async.} = g.heartbeatLock.release() -method initPubSub(g: GossipSub) = +method initPubSub*(g: GossipSub) = procCall FloodSub(g).initPubSub() randomize()