fix: populate pinger

This commit is contained in:
Richard Ramos 2024-11-28 14:38:57 -04:00
parent 68a6faaf5c
commit 1608cf2b0b
No known key found for this signature in database
GPG Key ID: 1CE87DB518195760

View File

@ -75,6 +75,7 @@ func NewStorenodeCycle(logger *zap.Logger, pinger common.Pinger) *StorenodeCycle
StorenodeChangedEmitter: NewEmitter[peer.ID](),
StorenodeNotWorkingEmitter: NewEmitter[struct{}](),
StorenodeAvailableEmitter: NewEmitter[peer.ID](),
pinger: pinger,
logger: logger.Named("storenode-cycle"),
}
}