derive Hash for RecoverableSignature

This commit is contained in:
NicolaLS 2022-06-27 13:01:33 +02:00
parent 7975be53cf
commit e275166652
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ use crate::ffi::recovery as ffi;
pub struct RecoveryId(i32); pub struct RecoveryId(i32);
/// An ECDSA signature with a recovery ID for pubkey recovery. /// An ECDSA signature with a recovery ID for pubkey recovery.
#[derive(Copy, Clone, PartialEq, Eq, Debug)] #[derive(Copy, Clone, PartialEq, Eq, Debug, Hash)]
pub struct RecoverableSignature(ffi::RecoverableSignature); pub struct RecoverableSignature(ffi::RecoverableSignature);
impl RecoveryId { impl RecoveryId {