fix: post workers: check proving params on startup

This commit is contained in:
Łukasz Magiera 2022-05-27 13:04:19 +02:00
parent 7836e20801
commit 7d7ecb5ec8

View File

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