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