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