pub fn derive_public_key<C: Verification>(
        &self,
        secp: &Secp256k1<C>,
    ) -> Result<bitcoin::PublicKey, ConversionError> {
        self.key.derive_public_key(secp)
    }
/// Computes the raw [`bitcoin::PublicKey`] for this descriptor key.
///
/// Will return an error if the key has any hardened derivation steps
/// in its path, but unlike [`DescriptorPublicKey::derive_public_key`]
/// this won't error in case of wildcards, because derived keys are
/// guaranteed to never contain one.
Computes the raw [`bitcoin::PublicKey`] for this descriptor key.
Will return an error if the key has any hardened derivation steps
in its path, but unlike [`DescriptorPublicKey::derive_public_key`]
this won't error in case of wildcards, because derived keys are
guaranteed to never contain one.
Computes the raw [ ` bitcoin :: PublicKey ` ] for this descriptor key . Will return an error if the key has any hardened derivation steps in its path but unlike [ ` DescriptorPublicKey :: derive_public_key ` ] this won ' t error in case of wildcards because derived keys are guaranteed to never contain one .
pub fn derive_public_key<C: Verification>(
        &self,
        secp: &Secp256k1<C>,
    ) -> Result<bitcoin::PublicKey, ConversionError> {
        self.key.derive_public_key(secp)
    }
pub fn derive_public_key < C : Verification > ( & self , secp : & Secp256k1 < C > , ) -> Result < bitcoin :: PublicKey , ConversionError > { self . key . derive_public_key ( secp ) }
Computes the raw [`bitcoin::PublicKey`] for this descriptor key.
Computes the raw [ ` bitcoin :: PublicKey ` ] for this descriptor key .
&self
secp
&Secp256k1<C>
&self
secp
&Secp256k1<C>