Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions plonk-napi/src/circuit.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use crate::{build_info::report_native_call, pasta_fp_plonk_index::WasmPastaFpPlonkIndex};
use crate::{build_info::report_native_call, pasta_fp_plonk_index::NapiPastaFpPlonkIndex};
use ark_ff::PrimeField;
use kimchi::circuits::{constraints::ConstraintSystem, gate::CircuitGate};
use mina_curves::pasta::Fp;
Expand Down Expand Up @@ -29,7 +29,7 @@ where
}

#[napi(js_name = "prover_to_json")]
pub fn prover_to_json(prover_index: &External<WasmPastaFpPlonkIndex>) -> String {
pub fn prover_to_json(prover_index: &External<NapiPastaFpPlonkIndex>) -> String {
report_native_call();

let circuit: Circuit<Fp> = prover_index.0.cs.as_ref().into();
Expand Down
Loading
Loading