Add serde impl for EcdsaSig
This commit is contained in:
parent
c92057d98f
commit
141dbbd1b9
|
@ -418,6 +418,7 @@ impl<'de> ::serde::Deserialize<'de> for PublicKey {
|
|||
|
||||
/// An ECDSA signature with the corresponding hash type.
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
|
||||
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
|
||||
pub struct EcdsaSig {
|
||||
/// The underlying ECDSA Signature
|
||||
pub sig: secp256k1::ecdsa::Signature,
|
||||
|
|
Loading…
Reference in New Issue