diff options
Diffstat (limited to 'core/agreement.go')
-rw-r--r-- | core/agreement.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/agreement.go b/core/agreement.go index 39cd368..1870a50 100644 --- a/core/agreement.go +++ b/core/agreement.go @@ -267,6 +267,9 @@ func (a *agreement) clocks() int { a.data.lock.RLock() defer a.data.lock.RUnlock() scale := int(a.data.period) - 1 + if a.state.state() == stateForward { + scale = 1 + } if scale < 1 { // just in case. scale = 1 |