Skip to content

Commit

Permalink
Merge pull request #4918 from ppiaas/master
Browse files Browse the repository at this point in the history
WindowPoStScheduler.checkSectors() delete useless judgment
  • Loading branch information
magik6k authored Nov 19, 2020
2 parents dc3d17c + ba56d02 commit 8802040
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions storage/wdpost_run.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,6 @@ func (s *WindowPoStScheduler) checkSectors(ctx context.Context, check bitfield.B
})

}
if err != nil {
return bitfield.BitField{}, xerrors.Errorf("iterating over bitfield: %w", err)
}

bad, err := s.faultTracker.CheckProvable(ctx, s.proofType, tocheck)
if err != nil {
Expand Down

0 comments on commit 8802040

Please sign in to comment.