//! P2SH utility
use ;
use *;
use ;
/// Build `scriptPubKey` from hashed `redeem script`
/// # Arguments
/// * `hash` - Hashed `redeem script`
/// # Returns
/// * `scriptPubKey`
/// # Example
/// ```
/// # #[macro_use] extern crate hex_literal;
/// # use cash_tx_builder::script::p2sh::script_pub_key;
/// let hash = hex!("023a723c9e8b8297d84f6ab7dc08784c36b0729a");
/// let script_pub_key = script_pub_key(&hash)?;
/// assert_eq!(script_pub_key, hex!("a914023a723c9e8b8297d84f6ab7dc08784c36b0729a87"));
/// # Ok::<(), cash_tx_builder::Error>(())
/// ```