run cargo fmt
This commit is contained in:
parent
b3ac00b8b3
commit
ebcce38b4f
|
@ -265,9 +265,7 @@ impl PublicKey {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl From<secp256k1::PublicKey> for PublicKey {
|
impl From<secp256k1::PublicKey> for PublicKey {
|
||||||
fn from(pk: secp256k1::PublicKey) -> PublicKey {
|
fn from(pk: secp256k1::PublicKey) -> PublicKey { PublicKey::new(pk) }
|
||||||
PublicKey::new(pk)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl From<PublicKey> for XOnlyPublicKey {
|
impl From<PublicKey> for XOnlyPublicKey {
|
||||||
|
|
Loading…
Reference in New Issue