Function simfony_as_rust::jet::transaction::current_script_sig_hash

source ยท
pub fn current_script_sig_hash() -> u256
Expand description

Return the SHA256 hash of the scriptSig of the current txin.

SegWit UTXOs enforce scriptSig to be the empty string. In such cases, we return the SHA256 hash of the empty string.