pub fn public_key<C: secp256k1::Signing>(&self, secp: &Secp256k1<C>) -> PublicKey {
        PublicKey {
            compressed: self.compressed,
            key: secp256k1::PublicKey::from_secret_key(secp, &self.key)
        }
    }
/// Creates a public key from this private key
Creates a public key from this private key
Creates a public key from this private key
pub fn public_key<C: secp256k1::Signing>(&self, secp: &Secp256k1<C>) -> PublicKey {
        PublicKey {
            compressed: self.compressed,
            key: secp256k1::PublicKey::from_secret_key(secp, &self.key)
        }
    }
pub fn public_key < C : secp256k1 :: Signing > ( & self , secp : & Secp256k1 < C > ) -> PublicKey { PublicKey { compressed : self . compressed , key : secp256k1 :: PublicKey :: from_secret_key ( secp , & self . key ) } }
Creates a public key from this private key
Creates a public key from this private key
&self
secp
&Secp256k1<C>
&self
secp
&Secp256k1<C>