pub fn write_schnorr_pubkey<W: lightning::util::ser::Writer>(
    pubkey: &secp256k1_zkp::schnorrsig::PublicKey,
    writer: &mut W,
) -> Result<(), ::std::io::Error> {
    pubkey.serialize().write(writer)
}
/// Writes a schnorr public key to the given writer.
Writes a schnorr public key to the given writer.
Writes a schnorr public key to the given writer .
pub fn write_schnorr_pubkey<W: lightning::util::ser::Writer>(
    pubkey: &secp256k1_zkp::schnorrsig::PublicKey,
    writer: &mut W,
) -> Result<(), ::std::io::Error> {
    pubkey.serialize().write(writer)
}
pub fn write_schnorr_pubkey < W : lightning :: util :: ser :: Writer > ( pubkey : & secp256k1_zkp :: schnorrsig :: PublicKey , writer : & mut W , ) -> Result < ( ) , :: std :: io :: Error > { pubkey . serialize ( ) . write ( writer ) }
Writes a schnorr public key to the given writer.
Writes a schnorr public key to the given writer .
pubkey
&secp256k1_zkp::schnorrsig::PublicKey
writer
&mut W