diff options
Diffstat (limited to 'core/agreement-mgr.go')
-rw-r--r-- | core/agreement-mgr.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/agreement-mgr.go b/core/agreement-mgr.go index 582a72e..4e6f230 100644 --- a/core/agreement-mgr.go +++ b/core/agreement-mgr.go @@ -578,6 +578,14 @@ Loop: } default: } + if !mgr.recv.isNotary { + select { + case <-setting.ticker.Tick(): + continue Loop + case <-mgr.ctx.Done(): + break Loop + } + } if err = agr.nextState(); err != nil { mgr.logger.Error("Failed to proceed to next state", "nodeID", mgr.ID.String(), |