wdpost: Remove commented code

This commit is contained in:
Łukasz Magiera 2020-06-24 12:38:46 +02:00 committed by GitHub
parent 24c7f47566
commit 0b1fa54a4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -383,8 +383,6 @@ func (s *WindowPoStScheduler) runPost(ctx context.Context, di miner.DeadlineInfo
return nil, xerrors.Errorf("get need prove sectors: %w", err)
}
// var skipped *abi.BitField
// {
good, err := s.checkSectors(ctx, nps)
if err != nil {
return nil, xerrors.Errorf("checking sectors to skip: %w", err)
@ -394,7 +392,6 @@ func (s *WindowPoStScheduler) runPost(ctx context.Context, di miner.DeadlineInfo
if err != nil {
return nil, xerrors.Errorf("nps - good: %w", err)
}
// }
skipCount, err := skipped.Count()
if err != nil {