Skip to content

Commit

Permalink
readwrite permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwen01 committed Nov 8, 2024
1 parent 6dece27 commit 1567843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/recursion/gnark-ffi/src/groth16_bn254.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ impl Groth16Bn254Prover {

/// Modify the Groth16Verifier so that it works with the SP1Verifier.
fn modify_groth16_verifier(file_path: &Path) -> io::Result<()> {
let mut file = File::open(file_path)?;
let mut file = File::options().read(true).write(true).open(file_path)?;
let mut content = String::new();
file.read_to_string(&mut content)?;

Expand Down

0 comments on commit 1567843

Please sign in to comment.