don't sort

This commit is contained in:
Łukasz Magiera 2022-02-02 19:08:21 +00:00
parent efdb854a7c
commit b74e085272

View File

@ -134,10 +134,6 @@ func (m *Manager) generateWindowPoSt(ctx context.Context, minerID abi.ActorID, s
return nil, nil, xerrors.Errorf("generating fallback challenges: %v", err)
}
sort.Slice(postChallenges.Sectors, func(i, j int) bool {
return postChallenges.Sectors[i] < postChallenges.Sectors[j]
})
proofList := make([]ffi.PartitionProof, partitionCount)
var wg sync.WaitGroup
wg.Add(int(partitionCount))