Function elements_miniscript::tweak_key [−][src]
pub fn tweak_key<Pk, C: Verification>(
pk: &Pk,
secp: &Secp256k1<C>,
contract: &[u8]
) -> PublicKey where
Pk: MiniscriptKey + ToPublicKey,
Expand description
Tweak a MiniscriptKey to obtain the tweaked key