diff --git a/markets/retrievaladapter/provider.go b/markets/retrievaladapter/provider.go index 06ebd989a..2f6305805 100644 --- a/markets/retrievaladapter/provider.go +++ b/markets/retrievaladapter/provider.go @@ -54,7 +54,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) { log.Debugf("get sector %d, offset %d, length %d", sectorID, offset, length) - si, err := rpn.sectorsStatus(ctx, sectorID, true) + si, err := rpn.sectorsStatus(ctx, sectorID, false) if err != nil { return nil, err } diff --git a/storage/miner_sealing.go b/storage/miner_sealing.go index a5e838b89..38b24e8c1 100644 --- a/storage/miner_sealing.go +++ b/storage/miner_sealing.go @@ -134,7 +134,7 @@ func (m *Miner) SectorsStatus(ctx context.Context, sid abi.SectorNumber, showOnC LastErr: info.LastErr, Log: log, // on chain info - SealProof: 0, + SealProof: info.SectorType, Activation: 0, Expiration: 0, DealWeight: big.Zero(),