diff --git a/bitcoin/src/crypto/key.rs b/bitcoin/src/crypto/key.rs index 2632aca82..70699ab74 100644 --- a/bitcoin/src/crypto/key.rs +++ b/bitcoin/src/crypto/key.rs @@ -901,9 +901,7 @@ impl TweakedPublicKey { #[inline] pub fn as_x_only_public_key(&self) -> &XOnlyPublicKey { &self.0 } - /// Serializes the key as a byte-encoded pair of values. In compressed form - /// the y-coordinate is represented by only a single bit, as x determines - /// it up to one bit. + /// Serializes the key as a byte-encoded x coordinate value (32 bytes). #[inline] pub fn serialize(&self) -> [u8; constants::SCHNORR_PUBLIC_KEY_SIZE] { self.0.serialize() } }