Skip to content

Commit

Permalink
correct if
Browse files Browse the repository at this point in the history
  • Loading branch information
StanislavBreadless committed Jan 11, 2025
1 parent 5fba9b1 commit 2a92e76
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,15 @@ impl ProveBatches {
vec![prev_l1_batch_info, batches_arg, proof_input]
} else {
let proof_input = if should_use_fflonk {
Token::Array(proof.into_iter().map(Token::Uint).collect())
} else {
Token::Array(
vec![verifier_type]
.into_iter()
.chain(proof)
.map(Token::Uint)
.collect(),
)
} else {
Token::Array(proof.into_iter().map(Token::Uint).collect())
};

let encoded_data = encode(&[prev_l1_batch_info, batches_arg, proof_input]);
Expand Down

0 comments on commit 2a92e76

Please sign in to comment.