add missing debug

This commit is contained in:
Anton Evangelatov 2021-06-14 11:31:55 +02:00
parent 31e6fb154e
commit c0feb36e70

View File

@ -51,6 +51,7 @@ func (rpn *retrievalProviderNode) GetMinerWorkerAddress(ctx context.Context, min
} }
func (rpn *retrievalProviderNode) UnsealSector(ctx context.Context, sectorID abi.SectorNumber, offset abi.UnpaddedPieceSize, length abi.UnpaddedPieceSize) (io.ReadCloser, error) { func (rpn *retrievalProviderNode) UnsealSector(ctx context.Context, sectorID abi.SectorNumber, offset abi.UnpaddedPieceSize, length abi.UnpaddedPieceSize) (io.ReadCloser, error) {
log.Debugf("get sector %d, offset %d, length %d", sectorID, offset, length)
si, err := rpn.secb.SectorsStatus(ctx, sectorID, false) si, err := rpn.secb.SectorsStatus(ctx, sectorID, false)
if err != nil { if err != nil {
return nil, err return nil, err