storageprovider: remove todo

This commit is contained in:
Łukasz Magiera 2020-07-31 12:49:42 +02:00 committed by GitHub
parent 9d987280c9
commit f3c771db1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -230,7 +230,6 @@ func (n *ProviderNodeAdapter) LocatePieceForDealWithinSector(ctx context.Context
if bestSi.State == sealing.UndefinedSectorState {
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
}