don't sort
This commit is contained in:
parent
efdb854a7c
commit
b74e085272
4
extern/sector-storage/manager_post.go
vendored
4
extern/sector-storage/manager_post.go
vendored
@ -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)
|
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)
|
proofList := make([]ffi.PartitionProof, partitionCount)
|
||||||
var wg sync.WaitGroup
|
var wg sync.WaitGroup
|
||||||
wg.Add(int(partitionCount))
|
wg.Add(int(partitionCount))
|
||||||
|
Loading…
Reference in New Issue
Block a user