Drop commented-out code

This commit is contained in:
Łukasz Magiera 2020-07-22 18:12:31 +02:00 committed by GitHub
parent 8d28b72741
commit 47a930ae53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -382,10 +382,6 @@ func (s *WindowPoStScheduler) runPost(ctx context.Context, di miner.DeadlineInfo
sidToPart[si.SectorNumber] = uint64(partIdx)
}
//if len(ssi) == 0 {
// log.Warn("attempted to run windowPost without any sectors...")
// return nil, xerrors.Errorf("no sectors to run windowPost on")
//}
params.Partitions[partIdx] = miner.PoStPartition{
Index: uint64(partIdx),