Derive Eq trait for Signature

This commit is contained in:
Ahmad
2024-11-28 12:14:31 +10:00
parent 39296e6e7d
commit df2d8d94f9

View File

@@ -268,7 +268,7 @@ fn blh(b: &[u8]) -> Vec<u8> {
hasher.finalize().to_vec() hasher.finalize().to_vec()
} }
#[derive(Debug, Clone)] #[derive(Debug, Clone, PartialEq, Eq)]
pub struct Signature { pub struct Signature {
pub r_b8: Point, pub r_b8: Point,
pub s: Fr, pub s: Fr,