[#324] ir: Measure epochs in sidechain blocks

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2021-01-22 18:01:44 +03:00 committed by Alex Vanin
parent b5dc28f79c
commit 19bb94cc04
8 changed files with 46 additions and 35 deletions

View file

@ -5,8 +5,3 @@ type NewEpochTick struct{}
// MorphEvent implements Event interface.
func (NewEpochTick) MorphEvent() {}
// ResetEpochTimer to start it again when event has been processed.
func (t *Timers) ResetEpochTimer() {
t.epoch.timer.Reset(t.epoch.duration)
}