Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
fix: refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
atanmarko committed Jun 14, 2024
1 parent 4dc5169 commit b5de6a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions leader/src/jerigon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ pub(crate) async fn jerigon_main(
.await?;
runtime.close().await?;

if !params.keep_intermediate_proofs {
if params.keep_intermediate_proofs {
warn!("Skipping cleanup, intermediate proofs are kept");
} else {
if let Some(proof_output_dir) = params.proof_output_dir.as_ref() {
proved_blocks
.into_iter()
Expand All @@ -57,8 +59,6 @@ pub(crate) async fn jerigon_main(
}
});
}
} else {
warn!("Skipping cleanup, intermediate proofs are kept");
}

Ok(())
Expand Down

0 comments on commit b5de6a6

Please sign in to comment.