From 54612346c63a26e80a34fbe10f8d7f9fe8da5784 Mon Sep 17 00:00:00 2001 From: dozyio Date: Sat, 14 Dec 2024 22:56:15 +0000 Subject: [PATCH] fix: bool comparison --- go-peer/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go-peer/main.go b/go-peer/main.go index 75087f7..6a7a277 100644 --- a/go-peer/main.go +++ b/go-peer/main.go @@ -197,7 +197,7 @@ func main() { gossipSubOpts := []pubsub.Option{} - if *bootstrapper == true { + if *bootstrapper { gossipSubOpts = append(gossipSubOpts, pubsub.WithPeerExchange(true)) pubsub.WithFloodPublish(true)