Skip to content

Commit 2b8297a

Browse files
committed
Merge #462: derive Hash for RecoverableSignature
e275166 derive Hash for RecoverableSignature (NicolaLS) Pull request description: It would be nice to also derive Hash for `RecoverableSignature` so data structures containing it don't have to implement it themself if they need to derive Hash ACKs for top commit: apoelstra: ACK e275166 Tree-SHA512: 418337e16e82a5e736c54d123450fdb164f4776db68952cf8095b36c501436446542821d554fa781dffa0f9067fc2464833a6c461897e655ff4449018da12ca2
2 parents 234ba5c + e275166 commit 2b8297a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ecdsa/recovery.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ use crate::ffi::recovery as ffi;
2828
pub struct RecoveryId(i32);
2929

3030
/// An ECDSA signature with a recovery ID for pubkey recovery.
31-
#[derive(Copy, Clone, PartialEq, Eq, Debug)]
31+
#[derive(Copy, Clone, PartialEq, Eq, Debug, Hash)]
3232
pub struct RecoverableSignature(ffi::RecoverableSignature);
3333

3434
impl RecoveryId {

0 commit comments

Comments
 (0)