Merge pull request #277 from LNP-BP/fix/error-derive

More standard derives for Error
This commit is contained in:
Andrew Poelstra 2021-02-10 18:03:34 +00:00 committed by GitHub
commit 3bff596948
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -507,7 +507,7 @@ impl<T: ThirtyTwoByteHash> From<T> for Message {
} }
/// An ECDSA error /// An ECDSA error
#[derive(Copy, PartialEq, Eq, Clone, Debug)] #[derive(Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Debug)]
pub enum Error { pub enum Error {
/// Signature failed verification /// Signature failed verification
IncorrectSignature, IncorrectSignature,