From 14ede9b0e6ad41c7e1bd6590d89de70f0a4b7020 Mon Sep 17 00:00:00 2001 From: dirkmc Date: Mon, 22 Mar 2021 14:39:03 +0100 Subject: [PATCH] Fix unseal comment --- markets/retrievaladapter/provider.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/markets/retrievaladapter/provider.go b/markets/retrievaladapter/provider.go index cd77d9fd0..3c8505c51 100644 --- a/markets/retrievaladapter/provider.go +++ b/markets/retrievaladapter/provider.go @@ -72,7 +72,7 @@ func (rpn *retrievalProviderNode) UnsealSector(ctx context.Context, sectorID abi if si.CommD != nil { commD = *si.CommD } - // Unseal the piece into the pipe's writer + // Read the piece into the pipe's writer, unsealing the piece if necessary err := rpn.sealer.ReadPiece(ctx, w, ref, storiface.UnpaddedByteIndex(offset), length, si.TicketValue, commD) if err != nil { log.Errorf("failed to unseal piece from sector %d: %s", sectorID, err)