From 626d87f5aa54c78aed862e9127472b7266f8fab7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Wed, 14 Feb 2024 14:26:55 +0100 Subject: [PATCH] lpseal: Fix hasAnySealingTask --- cmd/lotus-provider/tasks/tasks.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cmd/lotus-provider/tasks/tasks.go b/cmd/lotus-provider/tasks/tasks.go index eab551551..00cb6480f 100644 --- a/cmd/lotus-provider/tasks/tasks.go +++ b/cmd/lotus-provider/tasks/tasks.go @@ -58,7 +58,12 @@ func StartTasks(ctx context.Context, dependencies *deps.Deps) (*harmonytask.Task } } - hasAnySealingTask := cfg.Subsystems.EnableSealSDR + hasAnySealingTask := cfg.Subsystems.EnableSealSDR || + cfg.Subsystems.EnableSealSDRTrees || + cfg.Subsystems.EnableSendPrecommitMsg || + cfg.Subsystems.EnablePoRepProof || + cfg.Subsystems.EnableMoveStorage || + cfg.Subsystems.EnableSendCommitMsg { // Sealing