diff --git a/src/lib.rs b/src/lib.rs index 10ebd8f..7b66a72 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -507,7 +507,7 @@ impl From for Message { } /// An ECDSA error -#[derive(Copy, PartialEq, Eq, Clone, Debug)] +#[derive(Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Debug)] pub enum Error { /// Signature failed verification IncorrectSignature,