From 7ab559472e5d4927e559a200e4c6e23a39e66d26 Mon Sep 17 00:00:00 2001 From: dmpierre Date: Tue, 21 May 2024 09:37:51 +0200 Subject: [PATCH] fix: initialize CircomCircuit with empty allocated public input variables --- src/circom/builder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/circom/builder.rs b/src/circom/builder.rs index 5608210..8acbc2f 100644 --- a/src/circom/builder.rs +++ b/src/circom/builder.rs @@ -58,7 +58,7 @@ impl CircomBuilder { let mut circom = CircomCircuit { r1cs: self.cfg.r1cs.clone(), witness: None, - inputs_already_allocated: false, + public_inputs_indexes: vec![], }; // Disable the wire mapping