From 7a009abcdded4b10e3da4585a697273cf8c03f1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Fri, 25 Mar 2022 18:54:59 -0400 Subject: [PATCH] sealing: Fix TaskType.WorkerType --- extern/sector-storage/sealtasks/task.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extern/sector-storage/sealtasks/task.go b/extern/sector-storage/sealtasks/task.go index 91e281fac..1d3d3c1b5 100644 --- a/extern/sector-storage/sealtasks/task.go +++ b/extern/sector-storage/sealtasks/task.go @@ -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