diff --git a/src/prover.rs b/src/prover.rs index a741842..e894f6c 100644 --- a/src/prover.rs +++ b/src/prover.rs @@ -63,7 +63,7 @@ impl Groth16 { let h_assignment = cfg_into_iter!(h) .map(|s| s.into_bigint()) .collect::>(); - let h_acc = E::G1::msm_bigint(&pk.h_query, &h_assignment[..h_assignment.len() - 1]); + let h_acc = E::G1::msm_bigint(&pk.h_query, &h_assignment); drop(h_assignment); // Compute C