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
commit 1ebfc74657
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
}