Skip to content

Commit

Permalink
adjust NewPubSub fuc
Browse files Browse the repository at this point in the history
  • Loading branch information
vladmair committed Oct 21, 2024
1 parent e40a168 commit b69d61c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indexprovider/modules.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ var IndexProviderOpts = builder.Options(
func NewPubSub(mCtx metrics.MetricsCtx, h host.Host, nn NetworkName) (*pubsub.PubSub, error) {
drandSchedule := make(map[abi.ChainEpoch]config.DrandEnum)
sk := net.NewScoreKeeper()
return net.NewGossipSub(mCtx, h, sk, string(nn), drandSchedule, []peer.AddrInfo{}, false, false)
return net.NewGossipSub(mCtx, h, sk, string(nn), drandSchedule, []peer.AddrInfo{}, false, nil)
}

0 comments on commit b69d61c

Please sign in to comment.