Merge pull request #277 from LNP-BP/fix/error-derive
More standard derives for Error
This commit is contained in:
commit
3bff596948
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue