From b74e085272f310840d014513b0c4a636cf797379 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Wed, 2 Feb 2022 19:08:21 +0000 Subject: [PATCH] don't sort --- extern/sector-storage/manager_post.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/extern/sector-storage/manager_post.go b/extern/sector-storage/manager_post.go index 2a9cf10bc..9af85c025 100644 --- a/extern/sector-storage/manager_post.go +++ b/extern/sector-storage/manager_post.go @@ -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))