feat: sealing: Linter did have a good point

This commit is contained in:
Łukasz Magiera 2022-03-16 17:45:22 +01:00
parent aef2ec513f
commit 193c84811a

View File

@ -528,7 +528,7 @@ func (m *Sealing) calcTargetExpiration(ctx context.Context, ssize abi.SectorSize
// earliest expiration first // earliest expiration first
sort.Slice(candidates, func(i, j int) bool { sort.Slice(candidates, func(i, j int) bool {
return candidates[i].deal.DealProposal.EndEpoch < candidates[i].deal.DealProposal.EndEpoch return candidates[i].deal.DealProposal.EndEpoch < candidates[j].deal.DealProposal.EndEpoch
}) })
var totalBytes uint64 var totalBytes uint64