innerring: provide alphabetState param to epochTimer #206

Merged
fyrchik merged 1 commit from fyrchik/frostfs-node:fix-ir-panic into master 2023-04-04 10:47:32 +00:00

View file

@ -323,6 +323,7 @@ func (s *Server) createIRFetcher() irFetcher {
func (s *Server) initTimers(cfg *viper.Viper, processors *serverProcessors, morphClients *serverMorphClients) { func (s *Server) initTimers(cfg *viper.Viper, processors *serverProcessors, morphClients *serverMorphClients) {
s.epochTimer = newEpochTimer(&epochTimerArgs{ s.epochTimer = newEpochTimer(&epochTimerArgs{
l: s.log, l: s.log,
alphabetState: s,
newEpochHandlers: s.newEpochTickHandlers(), newEpochHandlers: s.newEpochTickHandlers(),
cnrWrapper: morphClients.CnrClient, cnrWrapper: morphClients.CnrClient,
epoch: s, epoch: s,