Function bitcoin_serai::crypto::x_only
source ยท pub fn x_only(key: &ProjectivePoint) -> XOnlyPublicKey
Available on crate feature
hazmat
only.Expand description
Convert a non-infinity even point to a XOnlyPublicKey. Panics on invalid input.