From c49dbf0999a000adc683c9bfef5163cde59dcc41 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Tue, 20 Jul 2021 20:19:36 -0700 Subject: [PATCH] fix: on randomness change, use new rand --- storage/wdpost_run.go | 1 + 1 file changed, 1 insertion(+) diff --git a/storage/wdpost_run.go b/storage/wdpost_run.go index 0fe7ea851..51a0729af 100644 --- a/storage/wdpost_run.go +++ b/storage/wdpost_run.go @@ -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 }