wdpost: Remove commented code
This commit is contained in:
parent
24c7f47566
commit
0b1fa54a4d
@ -383,8 +383,6 @@ func (s *WindowPoStScheduler) runPost(ctx context.Context, di miner.DeadlineInfo
|
|||||||
return nil, xerrors.Errorf("get need prove sectors: %w", err)
|
return nil, xerrors.Errorf("get need prove sectors: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
// var skipped *abi.BitField
|
|
||||||
// {
|
|
||||||
good, err := s.checkSectors(ctx, nps)
|
good, err := s.checkSectors(ctx, nps)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, xerrors.Errorf("checking sectors to skip: %w", err)
|
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 {
|
if err != nil {
|
||||||
return nil, xerrors.Errorf("nps - good: %w", err)
|
return nil, xerrors.Errorf("nps - good: %w", err)
|
||||||
}
|
}
|
||||||
// }
|
|
||||||
|
|
||||||
skipCount, err := skipped.Count()
|
skipCount, err := skipped.Count()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user