From df2d8d94f9e5c52c9d4d5e494055f531db56c973 Mon Sep 17 00:00:00 2001 From: Ahmad Date: Thu, 28 Nov 2024 12:14:31 +1000 Subject: [PATCH] Derive Eq trait for Signature --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 640492d..ba3236e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -268,7 +268,7 @@ fn blh(b: &[u8]) -> Vec { hasher.finalize().to_vec() } -#[derive(Debug, Clone)] +#[derive(Debug, Clone, PartialEq, Eq)] pub struct Signature { pub r_b8: Point, pub s: Fr,