From 7d7ecb5ec811cf370b42dbd4f431891f973ec829 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Fri, 27 May 2022 13:04:19 +0200 Subject: [PATCH] fix: post workers: check proving params on startup --- cmd/lotus-worker/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/lotus-worker/main.go b/cmd/lotus-worker/main.go index 8faabf70b..d7febd540 100644 --- a/cmd/lotus-worker/main.go +++ b/cmd/lotus-worker/main.go @@ -293,7 +293,7 @@ var runCmd = &cli.Command{ return err } - if cctx.Bool("commit") || cctx.Bool("prove-replica-update2") { + if cctx.Bool("commit") || cctx.Bool("prove-replica-update2") || cctx.Bool("windowpost") || cctx.Bool("winningpost") { if err := paramfetch.GetParams(ctx, build.ParametersJSON(), build.SrsJSON(), uint64(ssize)); err != nil { return xerrors.Errorf("get params: %w", err) }