Skip to main content

parse_script_hex

Function parse_script_hex 

Source
pub fn parse_script_hex(hex: &str) -> Result<Vec<Token>, ScriptError>
Expand description

Parses a hex-encoded script string into tokens.

Convenience wrapper that decodes the hex string via decode_hex, then passes the resulting bytes to parse_script.