[#324] ir/netmap: Do not return on block timer restart error

Continue execution of the new epoch handler in case of a failed timer
restart.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
remotes/KirillovDenis/release/v0.21.1
Leonard Lyubich 2021-01-25 15:20:52 +03:00 committed by Alex Vanin
parent 1664cf9869
commit a6517bc877
1 changed files with 0 additions and 2 deletions

View File

@ -13,8 +13,6 @@ func (np *Processor) processNewEpoch(epoch uint64) {
if err := np.epochTimer.ResetEpochTimer(); err != nil {
np.log.Warn("can't reset epoch timer",
zap.String("error", err.Error()))
return
}
// get new netmap snapshot