Merge pull request #2483 from filecoin-project/fix/miner-use-post-out

wdpost: Actually set post.Proofs
This commit is contained in:
Łukasz Magiera 2020-07-20 19:35:55 +02:00 committed by GitHub
commit a764331a95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -418,6 +418,8 @@ func (s *WindowPoStScheduler) runPost(ctx context.Context, di miner.DeadlineInfo
return nil, xerrors.Errorf("received proofs back from generate window post")
}
params.Proofs = postOut
for _, sector := range postSkipped {
params.Partitions[sidToPart[sector.Number]].Skipped.Set(uint64(sector.Number))
}