storageprovider: remove todo
This commit is contained in:
parent
9d987280c9
commit
f3c771db1c
@ -230,7 +230,6 @@ func (n *ProviderNodeAdapter) LocatePieceForDealWithinSector(ctx context.Context
|
|||||||
if bestSi.State == sealing.UndefinedSectorState {
|
if bestSi.State == sealing.UndefinedSectorState {
|
||||||
return 0, 0, 0, xerrors.New("no sealed sector found")
|
return 0, 0, 0, xerrors.New("no sealed sector found")
|
||||||
}
|
}
|
||||||
// TODO(review) is this offset actually padded?
|
|
||||||
return best.SectorID, best.Offset, best.Size.Padded(), nil
|
return best.SectorID, best.Offset, best.Size.Padded(), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user