Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
dragan2234 committed Feb 5, 2024
1 parent d0b7afe commit 23e50fb
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions ffi_interface/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -666,23 +666,21 @@ mod prover_verifier_test {
let commitment_bytes = commitment.to_bytes();

let mut poly_bytes: Vec<u8> = Vec::new();

for val in all_vals.clone() {
let bytes = fr_to_le_bytes(val);
poly_bytes.extend_from_slice(&bytes);
}

let point_bytes = [2u8; 1];

let result_bytes = fr_to_le_bytes(a_2);



create_prover_bytes.extend_from_slice(&commitment_bytes);
create_prover_bytes.extend_from_slice(&poly_bytes);
create_prover_bytes.extend_from_slice(&point_bytes);
create_prover_bytes.extend_from_slice(&result_bytes);


create_verifier_bytes.extend_from_slice(&commitment_bytes);
create_verifier_bytes.extend_from_slice(&point_bytes);
create_verifier_bytes.extend_from_slice(&result_bytes);
Expand Down

0 comments on commit 23e50fb

Please sign in to comment.