sealing: Fix TaskType.WorkerType

This commit is contained in:
Łukasz Magiera 2022-03-25 18:54:59 -04:00
parent 82343a06e7
commit 7a009abcdd

View File

@ -74,9 +74,9 @@ const (
func (a TaskType) WorkerType() string {
switch a {
case TTGenerateWindowPoSt:
case TTGenerateWinningPoSt:
return WorkerWinningPoSt
case WorkerWinningPoSt:
case TTGenerateWindowPoSt:
return WorkerWindowPoSt
default:
return WorkerSealing