fix(rln): correct rln wasm path

This commit is contained in:
Oskar Thoren 2022-03-18 14:23:23 +08:00
parent be1fafd27f
commit ceddd20ff1
No known key found for this signature in database
GPG Key ID: B2ECCFD3BC2EF77E
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ use std::io::{Cursor, Write};
use tempfile::NamedTempFile; use tempfile::NamedTempFile;
const ZKEY_BYTES: &[u8] = include_bytes!("../resources/rln_final.zkey"); const ZKEY_BYTES: &[u8] = include_bytes!("../resources/rln_final.zkey");
const WASM: &[u8] = include_bytes!("../resources/semaphore.wasm"); const WASM: &[u8] = include_bytes!("../resources/rln.wasm");
pub static ZKEY: Lazy<(ProvingKey<Bn254>, ConstraintMatrices<Fr>)> = Lazy::new(|| { pub static ZKEY: Lazy<(ProvingKey<Bn254>, ConstraintMatrices<Fr>)> = Lazy::new(|| {
let mut reader = Cursor::new(ZKEY_BYTES); let mut reader = Cursor::new(ZKEY_BYTES);