From 519857cd83f4727710fb8895838305441fc122b9 Mon Sep 17 00:00:00 2001 From: Dr Maxim Orlovsky Date: Sat, 30 Jan 2021 12:35:41 +0100 Subject: [PATCH] More standard derives for Error --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,