Function hashlocked_leaf_sighash

Source
pub fn hashlocked_leaf_sighash(
    leaf_tx: &Transaction,
    user_pubkey: PublicKey,
    server_pubkey: PublicKey,
    unlock_hash: UnlockHash,
    prev_txout: &TxOut,
) -> TapSighash
Expand description

Calculate the scriptspend sighash of a hArk leaf transaction