From 9bcf84c30f90fffa0a7459182ed5a9895c370949 Mon Sep 17 00:00:00 2001 From: CPerezz Date: Wed, 16 Oct 2024 16:12:41 +0200 Subject: [PATCH] chore: Address review leftovers --- folding-schemes/src/frontend/circom/browser.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/folding-schemes/src/frontend/circom/browser.rs b/folding-schemes/src/frontend/circom/browser.rs index 7ee29c77..3817f8b0 100644 --- a/folding-schemes/src/frontend/circom/browser.rs +++ b/folding-schemes/src/frontend/circom/browser.rs @@ -119,11 +119,9 @@ pub fn load_witness_from_bin_reader(mut reader: R) -> Ve let mut wtns_header = [0u8; 4]; reader.read_exact(&mut wtns_header).expect("read_error"); if wtns_header != [119, 116, 110, 115] { - // ruby -e 'p "wtns".bytes' => [119, 116, 110, 115] panic!("invalid file header"); } let version = reader.read_u32::().expect("read_error"); - // println!("wtns version {}", version); if version > 2 { panic!("unsupported file version"); } @@ -146,11 +144,7 @@ pub fn load_witness_from_bin_reader(mut reader: R) -> Ve } let mut prime = vec![0u8; field_size as usize]; reader.read_exact(&mut prime).expect("read_error"); - // if prime != hex!("010000f093f5e1439170b97948e833285d588181b64550b829a031e1724e6430") { - // panic!("invalid curve prime {:?}", prime); - // } let witness_len: u32 = reader.read_u32::().expect("read_error"); - // println!("witness len {}", witness_len); let sec_type = reader.read_u32::().expect("read_error"); if sec_type != 2 { panic!("invalid section type");