Merge pull request #6805 from filecoin-project/fix/new-rand

fix: on randomness change, use new rand
This commit is contained in:
Łukasz Magiera
2021-07-22 13:54:37 +02:00
committed by GitHub
+1
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
}