From 8b7933869c364997c05a55b824d62990f9e32d66 Mon Sep 17 00:00:00 2001 From: Alberto Soutullo Date: Fri, 19 Jan 2024 11:18:38 +0100 Subject: [PATCH] Enabled floodPublish --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 23ed4da..c214c05 100644 --- a/main.go +++ b/main.go @@ -195,7 +195,7 @@ func main() { } fmt.Printf("Hostname: %s, ID: %s\n", hostname, h.ID()) - ps, err := pubsub.NewGossipSub(ctx, h, pubsub.WithGossipSubParams(gsParams)) + ps, err := pubsub.NewGossipSub(ctx, h, pubsub.WithGossipSubParams(gsParams), pubsub.WithFloodPublish(true)) if err != nil { println("Error starting pubsub protocol", err) panic(err)