mirror of
https://github.com/logos-blockchain/logos-blockchain-rust-rapidsnark.git
synced 2026-06-07 03:39:29 +00:00
fix: fix init zkey path
This commit is contained in:
parent
fb1cd7946c
commit
f1e9597e76
@ -116,7 +116,7 @@ pub fn groth16_prover_zkey_file_wrapper(
|
||||
zkey_path: &str,
|
||||
wtns_buffer: Vec<u8>,
|
||||
) -> Result<ProofResult> {
|
||||
let formatted_zkey_path = zkey_path.to_string();
|
||||
let formatted_zkey_path = std::ffi::CString::new(zkey_path).unwrap();
|
||||
let wtns_size = wtns_buffer.len() as u64;
|
||||
|
||||
let mut proof_buffer = vec![0u8; 4 * 1024 * 1024]; // Adjust size as needed
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user