[][src]Function sv::transaction::p2pkh::extract_pubkeyhash

pub fn extract_pubkeyhash(pk_script: &[u8]) -> Result<Hash160>

Returns the address this pk_script sends to