Skip to content

Commit

Permalink
fix: bool comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
dozyio committed Dec 14, 2024
1 parent 4d4bd19 commit 5461234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go-peer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ func main() {

gossipSubOpts := []pubsub.Option{}

if *bootstrapper == true {
if *bootstrapper {
gossipSubOpts = append(gossipSubOpts, pubsub.WithPeerExchange(true))

pubsub.WithFloodPublish(true)
Expand Down

0 comments on commit 5461234

Please sign in to comment.