Skip to content

Commit

Permalink
Add serde impl for SchnorrPublicKey
Browse files Browse the repository at this point in the history
  • Loading branch information
Tibo-lg committed Sep 25, 2020
1 parent e2c31f7 commit 6c31918
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/schnorrsig.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ impl str::FromStr for SchnorrPublicKey {
}
}

serde_impl!(SchnorrPublicKey, constants::SCHNORR_PUBLIC_KEY_SIZE);

impl SchnorrSignature {
/// Creates an SchnorrSignature directly from a slice
#[inline]
Expand Down

0 comments on commit 6c31918

Please sign in to comment.