Skip to content

Commit

Permalink
Merge pull request #6805 from filecoin-project/fix/new-rand
Browse files Browse the repository at this point in the history
fix: on randomness change, use new rand
  • Loading branch information
magik6k authored Jul 22, 2021
2 parents 0c02207 + 4fc1dfa commit 1ebfc74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions storage/wdpost_run.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 1ebfc74

Please sign in to comment.