Skip to content

Commit da6be90

Browse files
committed
fix: comments
1 parent fa87cfa commit da6be90

File tree

3 files changed

+7
-196
lines changed

3 files changed

+7
-196
lines changed

prover/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

prover/prover.rs

Lines changed: 0 additions & 194 deletions
This file was deleted.

prover/src/main.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,12 @@ async fn main() -> anyhow::Result<()> {
4242
utils::log_init(args.log_file);
4343

4444
let cfg: Config = Config::from_file(args.config_file)?;
45-
let local_prover = LocalProver::new(cfg.prover.local.clone().unwrap());
45+
let local_prover = LocalProver::new(
46+
cfg.prover
47+
.local
48+
.clone()
49+
.ok_or_else(|| anyhow::anyhow!("Missing local prover configuration"))?,
50+
);
4651
let prover = ProverBuilder::new(cfg)
4752
.with_proving_service(Box::new(local_prover))
4853
.build()

0 commit comments

Comments
 (0)