mirror of
https://github.com/logos-storage/circom-compat.git
synced 2026-01-02 13:03:08 +00:00
rename to from_bytes
This commit is contained in:
parent
2bb54b79e7
commit
937f15269a
@ -35,7 +35,7 @@ impl<E: Pairing> CircomConfig<E> {
|
||||
})
|
||||
}
|
||||
|
||||
pub fn new_from_bytes(wtns: &[u8], r1cs: &[u8]) -> Result<Self> {
|
||||
pub fn from_bytes(wtns: &[u8], r1cs: &[u8]) -> Result<Self> {
|
||||
let wtns = WitnessCalculator::from_bytes(wtns).unwrap();
|
||||
let r1cs = R1CSFile::new(Cursor::new(r1cs))?.into();
|
||||
Ok(Self {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user