fix: on randomness change, use new rand

This commit is contained in:
Steven Allen 2021-07-20 20:19:36 -07:00
parent c1f0ebbefa
commit c49dbf0999

View File

@ -659,6 +659,7 @@ func (s *WindowPoStScheduler) runPoStCycle(ctx context.Context, di dline.Info, t
if !bytes.Equal(checkRand, rand) {
log.Warnw("windowpost randomness changed", "old", rand, "new", checkRand, "ts-height", ts.Height(), "challenge-height", di.Challenge, "tsk", ts.Key())
rand = checkRand
continue
}