[#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) {
|
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,
|
||||||
|
|
Loading…
Reference in a new issue