diff --git a/cmd/lotus-seal-worker/main.go b/cmd/lotus-seal-worker/main.go index 615c0351f..44153ef04 100644 --- a/cmd/lotus-seal-worker/main.go +++ b/cmd/lotus-seal-worker/main.go @@ -106,6 +106,11 @@ var runCmd = &cli.Command{ Usage: "enable precommit1 (32G sectors: 1 core, 128GiB Memory)", Value: true, }, + &cli.BoolFlag{ + Name: "unseal", + Usage: "enable unsealing (32G sectors: 1 core, 128GiB Memory)", + Value: true, + }, &cli.BoolFlag{ Name: "precommit2", Usage: "enable precommit2 (32G sectors: all cores, 96GiB Memory)", @@ -188,6 +193,9 @@ var runCmd = &cli.Command{ if cctx.Bool("precommit1") { taskTypes = append(taskTypes, sealtasks.TTPreCommit1) } + if cctx.Bool("unseal") { + taskTypes = append(taskTypes, sealtasks.TTUnseal) + } if cctx.Bool("precommit2") { taskTypes = append(taskTypes, sealtasks.TTPreCommit2) }