From 3eb5c9234dc990ed6c925d26f1909f7489db6080 Mon Sep 17 00:00:00 2001 From: Ahmad Date: Mon, 2 Dec 2024 11:37:31 +1000 Subject: [PATCH] Derive Eq trait for PrivateKey --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index ba3236e..d36c6d6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -299,6 +299,7 @@ pub fn decompress_signature(b: &[u8; 64]) -> Result { } } +#[derive(Clone, Debug, Eq, PartialEq)] pub struct PrivateKey { pub key: [u8; 32], }