diff --git a/bitcoin/src/crypto/key.rs b/bitcoin/src/crypto/key.rs index 50be0d27..41c541c0 100644 --- a/bitcoin/src/crypto/key.rs +++ b/bitcoin/src/crypto/key.rs @@ -265,9 +265,7 @@ impl PublicKey { } impl From for PublicKey { - fn from(pk: secp256k1::PublicKey) -> PublicKey { - PublicKey::new(pk) - } + fn from(pk: secp256k1::PublicKey) -> PublicKey { PublicKey::new(pk) } } impl From for XOnlyPublicKey {