Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lispc committed Sep 29, 2024
1 parent f771605 commit e7c3a14
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion examples/cloud.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use clap::Parser;
use std::sync::Arc;

use scroll_proving_sdk::{
config::{CloudProverConfig, Config},
Expand Down Expand Up @@ -59,5 +60,7 @@ fn main() -> anyhow::Result<()> {
.with_proving_service(Box::new(cloud_prover))
.build()?;

Arc::new(prover).run()
Arc::new(prover).run()?;

loop {}
}
5 changes: 4 additions & 1 deletion examples/local.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use clap::Parser;
use std::sync::Arc;

use scroll_proving_sdk::{
config::{Config, LocalProverConfig},
Expand Down Expand Up @@ -53,5 +54,7 @@ fn main() -> anyhow::Result<()> {
.with_proving_service(Box::new(local_prover))
.build()?;

Arc::new(prover).run()
Arc::new(prover).run()?;

loop {}
}

0 comments on commit e7c3a14

Please sign in to comment.