Skip to main content

parse_commitment_hex

Function parse_commitment_hex 

Source
pub fn parse_commitment_hex(s: &str) -> Result<PayloadCommitment, String>
Expand description

Parse a 32-byte hex commitment (helper for the host/command boundary). Err on wrong length / non-hex.