diff options
Diffstat (limited to 'core/agreement.go')
-rw-r--r-- | core/agreement.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/agreement.go b/core/agreement.go index 579cea8..43fddd0 100644 --- a/core/agreement.go +++ b/core/agreement.go @@ -254,12 +254,12 @@ func (a *agreement) restart( func (a *agreement) stop() { a.restart(make(map[types.NodeID]struct{}), types.Position{ - ChainID: math.MaxUint32, + Height: math.MaxUint64, }, types.NodeID{}, common.Hash{}) } func isStop(aID types.Position) bool { - return aID.ChainID == math.MaxUint32 + return aID.Height == math.MaxUint64 } // clocks returns how many time this state is required. |