Skip to content

Commit

Permalink
end block
Browse files Browse the repository at this point in the history
  • Loading branch information
ratankaliani committed Oct 3, 2024
1 parent d9ffe68 commit bbac83c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions scripts/witnessgen/bin/native_host_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,20 @@ async fn main() -> Result<()> {
init_tracing_subscriber(cfg.v)?;

if cfg.server {
let res = start_server(cfg).await;
let res = start_server(cfg.clone()).await;
if res.is_err() {
std::process::exit(1);
}
} else {
let res = start_server_and_native_client(cfg).await;
let res = start_server_and_native_client(cfg.clone()).await;
if res.is_err() {
std::process::exit(1);
}
}

println!("Exiting host program.");
println!(
"Ran host program with end block: {:?}",
cfg.l2_block_number
);
std::process::exit(0);
}

0 comments on commit bbac83c

Please sign in to comment.