Merge pull request #1847 from waynewyang/Deadline-Index

fix: add deadline index for wdpost
This commit is contained in:
Łukasz Magiera 2020-05-27 11:40:31 +02:00 committed by GitHub
commit b74e8f5922
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -351,6 +351,7 @@ func (s *WindowPoStScheduler) runPost(ctx context.Context, di miner.DeadlineInfo
log.Infow("submitting window PoSt", "elapsed", elapsed) log.Infow("submitting window PoSt", "elapsed", elapsed)
return &miner.SubmitWindowedPoStParams{ return &miner.SubmitWindowedPoStParams{
Deadline: di.Index,
Partitions: partitions, Partitions: partitions,
Proofs: postOut, Proofs: postOut,
Skipped: *abi.NewBitField(), // TODO: Faults here? Skipped: *abi.NewBitField(), // TODO: Faults here?