Skip to content

Commit

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

/// Modify the PlonkVerifier so that it works with the SP1Verifier.
fn modify_plonk_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 7159f03

Please sign in to comment.