This commit is contained in:
William Banfield
2022-02-01 14:37:12 -05:00
parent 44fbb9c1b2
commit 9f2612c6fd
+1 -1
View File
@@ -100,7 +100,7 @@ func (p *Proposal) IsTimely(recvTime time.Time, sp SynchronyParams, round int32)
msgDelay := sp.MessageDelay * roundModifier
if msgDelay <= 0 {
// In the case that messaeg delay overflows after applying the round modifier, use the maximum
// In the case that message delay overflows after applying the round modifier, use the maximum
// duration instead.
msgDelay = time.Nanosecond * math.MaxInt64
}