Feedback from @hdevalence - Added derive for Eq and Hash

This commit is contained in:
Jack Michaud 2020-08-31 12:13:22 -07:00
parent 48df927d7b
commit 3c09664112

View file

@ -29,7 +29,7 @@ use zeroize::Zeroize;
feature = "serde",
derive(our_serde::Serialize, our_serde::Deserialize)
)]
#[derive(PartialEq, Copy, Clone, Debug)]
#[derive(PartialEq, Eq, Hash, Copy, Clone, Debug)]
pub struct PublicKey(pub(crate) MontgomeryPoint);
impl From<[u8; 32]> for PublicKey {