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

Commit

Permalink
Update prover/src/lib.rs
Browse files Browse the repository at this point in the history
Co-authored-by: 0xaatif <[email protected]>
  • Loading branch information
cpubot and 0xaatif authored Jun 5, 2024
1 parent 279e039 commit b5d7191
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions prover/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,9 @@ impl BlockProverInput {
let block_number = block_number
.to_u64()
.context("block number overflows u64")?;
let prev = if let Some(prev) = previous {
Some(prev.await?)
} else {
None
let prev = match prev {
Some(it) => Some(it.await?),
None => None
};

let block_proof = paladin::directive::Literal(proof)
Expand Down

0 comments on commit b5d7191

Please sign in to comment.