[#446] innerring: Use alphabet state in processors

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2021-03-23 18:20:44 +03:00 committed by Alex Vanin
parent 1332db883e
commit e05f1e1394
17 changed files with 80 additions and 69 deletions

View file

@ -8,8 +8,8 @@ import (
)
func (np *Processor) processNetmapCleanupTick(epoch uint64) {
if !np.activeState.IsActive() {
np.log.Info("passive mode, ignore new netmap cleanup tick")
if !np.alphabetState.IsAlphabet() {
np.log.Info("non alphabet mode, ignore new netmap cleanup tick")
return
}