Function get_pk_hash

Source
fn get_pk_hash(input: &TxIn) -> Result<PubkeyHash, LeafErrorKind>
Expand description

Computes the public key hash from the pushed key in the input’s scriptSig.