[#205] innerring: Provide alphabetState
param to epochTimer
Fix NPE, introduced in f09ee27a
.
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
0948a280fa
commit
4660ff7e13
1 changed files with 1 additions and 0 deletions
|
@ -323,6 +323,7 @@ func (s *Server) createIRFetcher() irFetcher {
|
|||
func (s *Server) initTimers(cfg *viper.Viper, processors *serverProcessors, morphClients *serverMorphClients) {
|
||||
s.epochTimer = newEpochTimer(&epochTimerArgs{
|
||||
l: s.log,
|
||||
alphabetState: s,
|
||||
newEpochHandlers: s.newEpochTickHandlers(),
|
||||
cnrWrapper: morphClients.CnrClient,
|
||||
epoch: s,
|
||||
|
|
Loading…
Reference in a new issue