Browse Source

inline code

pull/4/head
mmagician 4 months ago
parent
commit
ad2a672f6b
No known key found for this signature in database GPG Key ID: BDEF1AAE14CCE516
1 changed files with 0 additions and 8 deletions
  1. +0
    -8
      src/witness/witness_calculator.rs

+ 0
- 8
src/witness/witness_calculator.rs

@ -115,14 +115,6 @@ impl WitnessCalculator {
) -> Result<Vec<BigInt>> {
self.instance.init(store, sanity_check)?;
self.calculate_witness_circom2(store, inputs)
}
fn calculate_witness_circom2<I: IntoIterator<Item = (String, Vec<BigInt>)>>(
&mut self,
store: &mut Store,
inputs: I,
) -> Result<Vec<BigInt>> {
let n32 = self.instance.get_field_num_len32(store)?;
// allocate the inputs

Loading…
Cancel
Save