From 8fd323a4e5da99700ecfa101fb25c4fe0d91ef39 Mon Sep 17 00:00:00 2001 From: Aayush Rajasekaran Date: Fri, 4 Sep 2020 21:02:23 -0400 Subject: [PATCH] Include unproven sectors in windowpost --- storage/wdpost_run.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/storage/wdpost_run.go b/storage/wdpost_run.go index 2e0ed1c84..dfc087864 100644 --- a/storage/wdpost_run.go +++ b/storage/wdpost_run.go @@ -349,6 +349,11 @@ func (s *WindowPoStScheduler) runPost(ctx context.Context, di miner.DeadlineInfo return nil, xerrors.Errorf("adding recoveries to set of sectors to prove: %w", err) } + toProve, err = bitfield.MergeBitFields(toProve, partition.Unproven) + if err != nil { + return nil, xerrors.Errorf("adding unproven sectors to set of sectors to prove: %w", err) + } + good, err := s.checkSectors(ctx, toProve) if err != nil { return nil, xerrors.Errorf("checking sectors to skip: %w", err)