diff --git a/src/ecdsa/mod.rs b/src/ecdsa/mod.rs index 4f4a42c..91429b4 100644 --- a/src/ecdsa/mod.rs +++ b/src/ecdsa/mod.rs @@ -16,7 +16,7 @@ pub use self::recovery::{RecoveryId, RecoverableSignature}; use SECP256K1; /// An ECDSA signature -#[derive(Copy, Clone, PartialEq, Eq)] +#[derive(Copy, Clone, PartialEq, Eq, Hash)] pub struct Signature(pub(crate) ffi::Signature); /// A DER serialized Signature