tweak

Function tweak 

Source
pub fn tweak(public_key: &Point, merkle_root: Option<[u8; 32]>) -> Scalar
Expand description

Create a BIP341 compliant taproot tweak from a public key and merkle root