소스 검색

Update to match new ComposedWitness::Or API

Ian Goldberg 3 달 전
부모
커밋
03863987ce
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      sigma_compiler_core/src/sigma/codegen.rs

+ 1 - 3
sigma_compiler_core/src/sigma/codegen.rs

@@ -524,9 +524,7 @@ impl<'a> CodeGen<'a> {
                     },
                     quote! {
                         Ok(ComposedWitness::Or(vec![
-                            #(CtOption::new(
-                                #witness.map_err(|e| -> SigmaError { e })?,
-                                1u8.into()),)*
+                            #(#witness.map_err(|e| -> SigmaError { e })?,)*
                         ]))
                     },
                 )