Back to greater than

This commit is contained in:
Christopher Goes
2018-10-12 21:15:39 +02:00
parent bdfb10f551
commit 1ff2e865a8
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ for val in block.Validators:
// included in 50% of the recent LastCommits
minHeight = signInfo.StartHeight + SIGNED_BLOCKS_WINDOW
maxMissed = SIGNED_BLOCKS_WINDOW / 2
if height >= minHeight AND signInfo.MissedBlocksCounter > maxMissed:
if height > minHeight AND signInfo.MissedBlocksCounter > maxMissed:
signInfo.JailedUntil = block.Time + DOWNTIME_UNBOND_DURATION
slash & unbond the validator