Skip to content

Commit 3bff596

Browse files
authored
Merge pull request #277 from LNP-BP/fix/error-derive
More standard derives for Error
2 parents 8e61874 + 519857c commit 3bff596

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ impl<T: ThirtyTwoByteHash> From<T> for Message {
507507
}
508508

509509
/// An ECDSA error
510-
#[derive(Copy, PartialEq, Eq, Clone, Debug)]
510+
#[derive(Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Debug)]
511511
pub enum Error {
512512
/// Signature failed verification
513513
IncorrectSignature,

0 commit comments

Comments
 (0)