Browse Source

fix: initialize CircomCircuit with empty allocated public input variables

pull/1/head
dmpierre 6 months ago
parent
commit
7ab559472e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/circom/builder.rs

+ 1
- 1
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

Loading…
Cancel
Save