Skip to content

Commit

Permalink
fix: fix zkvm
Browse files Browse the repository at this point in the history
  • Loading branch information
BC-A committed Apr 25, 2024
1 parent 7eff8a2 commit 1f2a899
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zkvm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ mod tests {
let mut buffer = [0u8; 8];
f.read_exact(&mut buffer).unwrap();
let start_of_shutdown_routine: u64 = u64::from_le_bytes(buffer);

let file_size = file_size - 8;
let mut buffer = vec![0; file_size];
f.read_exact(&mut buffer).unwrap();
let mut bi = vec![GoldilocksField::zero(); file_size / 8];
Expand Down

0 comments on commit 1f2a899

Please sign in to comment.