diff --git a/node/modules/lp2p/pubsub.go b/node/modules/lp2p/pubsub.go index a071b36a5..25ee4963f 100644 --- a/node/modules/lp2p/pubsub.go +++ b/node/modules/lp2p/pubsub.go @@ -412,7 +412,7 @@ func GossipSub(in GossipIn) (service *pubsub.PubSub, err error) { trw := newTracerWrapper(nil, lt) options = append(options, pubsub.WithEventTracer(trw)) - pst := newPeerScoreTracker(nil, in.Sk) + pst := newPeerScoreTracker(lt, in.Sk) options = append(options, pubsub.WithPeerScoreInspect(pst.UpdatePeerScore, 10*time.Second)) }