Merge rust-bitcoin/rust-secp256k1#441: Derive Hash for Signature
ef7f1972a7
Derive Hash for Signature (Tobin C. Harding) Pull request description: In preparation for deriving `Hash` in miniscript, derive `Hash` on the `ecdsa::Signature`. ref: https://github.com/rust-bitcoin/rust-miniscript/issues/226 ACKs for top commit: apoelstra: ACKef7f1972a7
elichai: ACKef7f1972a7
Tree-SHA512: 7313f59971444ae18611adbafe86a09478eddd7357f2b7f3ad3bb1761609b6358b156975086f6c318eb2777018b7b2f44386321108939acbcf2d0a522e7e208e
This commit is contained in:
commit
6599e24010
|
@ -16,7 +16,7 @@ pub use self::recovery::{RecoveryId, RecoverableSignature};
|
||||||
use SECP256K1;
|
use SECP256K1;
|
||||||
|
|
||||||
/// An ECDSA signature
|
/// An ECDSA signature
|
||||||
#[derive(Copy, Clone, PartialEq, Eq)]
|
#[derive(Copy, Clone, PartialEq, Eq, Hash)]
|
||||||
pub struct Signature(pub(crate) ffi::Signature);
|
pub struct Signature(pub(crate) ffi::Signature);
|
||||||
|
|
||||||
/// A DER serialized Signature
|
/// A DER serialized Signature
|
||||||
|
|
Loading…
Reference in New Issue