From 1bb738a96c61f9bd5f332916a8adb63bc8e83458 Mon Sep 17 00:00:00 2001 From: Constance Beguier Date: Tue, 9 Jul 2024 14:16:25 +0200 Subject: [PATCH] Update EccPointQ enum --- halo2_gadgets/src/sinsemilla/chip/hash_to_point.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/halo2_gadgets/src/sinsemilla/chip/hash_to_point.rs b/halo2_gadgets/src/sinsemilla/chip/hash_to_point.rs index 5d08d170d..d4e92bcf8 100644 --- a/halo2_gadgets/src/sinsemilla/chip/hash_to_point.rs +++ b/halo2_gadgets/src/sinsemilla/chip/hash_to_point.rs @@ -19,10 +19,10 @@ use std::ops::Deref; /// `EccPointQ` can hold either a public or a private ECC Point #[derive(Debug, Clone)] -#[allow(dead_code)] -pub enum EccPointQ<'a> { +pub enum EccPointQ { PublicPoint(pallas::Affine), - PrivatePoint(&'a NonIdentityEccPoint), + // We will use private point for ZSA + // PrivatePoint(&'a NonIdentityEccPoint), } impl SinsemillaChip