Skip to main content

hex_to_hash

Function hex_to_hash 

Source
pub fn hex_to_hash(hex: &str) -> Option<[u8; 32]>
Expand description

Decode a 32-byte program hash from its hex form. Returns None on any malformed input — the reader logs a Warn and continues folding.