feat: sealing: Linter did have a good point
This commit is contained in:
parent
aef2ec513f
commit
193c84811a
2
extern/storage-sealing/input.go
vendored
2
extern/storage-sealing/input.go
vendored
@ -528,7 +528,7 @@ func (m *Sealing) calcTargetExpiration(ctx context.Context, ssize abi.SectorSize
|
||||
|
||||
// earliest expiration first
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user