Skip to content

Commit

Permalink
Merge pull request #8736 from filecoin-project/fix/postworker-check-p…
Browse files Browse the repository at this point in the history
…arams

fix: post workers: check proving params on startup
  • Loading branch information
arajasek authored May 27, 2022
2 parents 5624b7e + 7d7ecb5 commit 69d3542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/lotus-worker/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 69d3542

Please sign in to comment.