Derive Hash for Signature

This commit is contained in:
Dr Maxim Orlovsky 2022-11-21 15:07:34 +01:00
parent ee17f35218
commit 664898d8c8
No known key found for this signature in database
GPG Key ID: 60094BAF18A26EC9
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ where
}
/// Cryptographic signature.
#[derive(PartialEq, Eq, Copy, Clone, Serialize, Deserialize)]
#[derive(PartialEq, Eq, Hash, Copy, Clone, Serialize, Deserialize)]
#[serde(into = "String", try_from = "String")]
pub struct Signature(pub ed25519::Signature);