lpseal: Fix hasAnySealingTask

This commit is contained in:
Łukasz Magiera 2024-02-14 14:26:55 +01:00
parent 9ddfe23702
commit 626d87f5aa

View File

@ -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