Skip to content

Commit

Permalink
nostr: fix normalized_public_key method
Browse files Browse the repository at this point in the history
  • Loading branch information
yukibtc committed Sep 6, 2023
1 parent c93ebe0 commit 7f91601
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions crates/nostr/src/key/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,7 @@ impl Keys {
}

/// Get [`PublicKey`]
pub fn normalized_public_key<C>(&self) -> Result<PublicKey, Error>
where
C: Signing,
{
pub fn normalized_public_key(&self) -> Result<PublicKey, Error> {
self.normalized_public_key_with_ctx(&SECP256K1)
}

Expand Down

0 comments on commit 7f91601

Please sign in to comment.