Fix unseal comment

This commit is contained in:
dirkmc
2021-03-22 14:39:03 +01:00
committed by GitHub
parent 73d5225f3c
commit 14ede9b0e6
+1 -1
View File
@@ -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)