[][src]Function btc_transaction_utils::p2wpk::script_pubkey

pub fn script_pubkey(pk: &PublicKey) -> Script

Creates a script pubkey for the corresponding public key.