Skip to content

Commit 5a4eda5

Browse files
committed
fix lint err
1 parent c77bfba commit 5a4eda5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

market/storageIngest/deal_ingest_snap.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -481,10 +481,6 @@ func (p *PieceIngesterSnap) AllocatePieceToSector(ctx context.Context, tx *harmo
481481

482482
num = &candidate.Sector
483483

484-
if num == nil {
485-
return api.SectorOffset{}, xerrors.Errorf("expected one sector number")
486-
}
487-
488484
if p.sealRightNow {
489485
err = p.SectorStartSealing(ctx, maddr, abi.SectorNumber(*num))
490486
if err != nil {

0 commit comments

Comments
 (0)