Skip to content

Commit

Permalink
fix nit
Browse files Browse the repository at this point in the history
  • Loading branch information
LexLuthr committed Jan 13, 2025
1 parent 1240c68 commit 918ec0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ffi/sdr_funcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ func (sb *SealCalls) GenerateUnsealedSector(ctx context.Context, sector storifac
}

func TruncateAndMoveUnsealed(tempUnsealed, unsealed string, ssize abi.SectorSize) error {
// truncate sealed file to sector size
// truncate unsealed file to sector size
if err := os.Truncate(tempUnsealed, int64(ssize)); err != nil {
return xerrors.Errorf("truncating unsealed file to sector size: %w", err)
}
Expand Down

0 comments on commit 918ec0f

Please sign in to comment.