pub fn get_script_for_destination(dest: &TxDestination) -> Script 
Expand description

| Generate a Bitcoin scriptPubKey for the given | TxDestination. | | Returns a P2PKH script for a CKeyID | destination, a P2SH script for a CScriptID, | and an empty script for CNoDestination. |