mirror of
https://github.com/arnaucube/circom-compat.git
synced 2026-01-09 15:31:31 +01:00
fix: initialize CircomCircuit with empty allocated public input variables
This commit is contained in:
@@ -58,7 +58,7 @@ impl<F: PrimeField> CircomBuilder<F> {
|
|||||||
let mut circom = CircomCircuit {
|
let mut circom = CircomCircuit {
|
||||||
r1cs: self.cfg.r1cs.clone(),
|
r1cs: self.cfg.r1cs.clone(),
|
||||||
witness: None,
|
witness: None,
|
||||||
inputs_already_allocated: false,
|
public_inputs_indexes: vec![],
|
||||||
};
|
};
|
||||||
|
|
||||||
// Disable the wire mapping
|
// Disable the wire mapping
|
||||||
|
|||||||
Reference in New Issue
Block a user