Skip to content

Commit ef7f197

Browse files
committed
Derive Hash for Signature
In preparation for deriving `Hash` in miniscript, derive `Hash` on the `ecdsa::Signature`.
1 parent a0064c2 commit ef7f197

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ecdsa/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pub use self::recovery::{RecoveryId, RecoverableSignature};
1616
use SECP256K1;
1717

1818
/// An ECDSA signature
19-
#[derive(Copy, Clone, PartialEq, Eq)]
19+
#[derive(Copy, Clone, PartialEq, Eq, Hash)]
2020
pub struct Signature(pub(crate) ffi::Signature);
2121

2222
/// A DER serialized Signature

0 commit comments

Comments
 (0)