Derive Hash for Signature
In preparation for deriving `Hash` in miniscript, derive `Hash` on the `ecdsa::Signature`.
This commit is contained in:
parent
a0064c268b
commit
ef7f1972a7
|
@ -16,7 +16,7 @@ pub use self::recovery::{RecoveryId, RecoverableSignature};
|
|||
use SECP256K1;
|
||||
|
||||
/// An ECDSA signature
|
||||
#[derive(Copy, Clone, PartialEq, Eq)]
|
||||
#[derive(Copy, Clone, PartialEq, Eq, Hash)]
|
||||
pub struct Signature(pub(crate) ffi::Signature);
|
||||
|
||||
/// A DER serialized Signature
|
||||
|
|
Loading…
Reference in New Issue