diff --git a/src/circom/builder.rs b/src/circom/builder.rs index b71378d..41c90b0 100644 --- a/src/circom/builder.rs +++ b/src/circom/builder.rs @@ -35,7 +35,7 @@ impl CircomConfig { }) } - pub fn new_from_bytes(wtns: &[u8], r1cs: &[u8]) -> Result { + pub fn from_bytes(wtns: &[u8], r1cs: &[u8]) -> Result { let wtns = WitnessCalculator::from_bytes(wtns).unwrap(); let r1cs = R1CSFile::new(Cursor::new(r1cs))?.into(); Ok(Self {