pub fn parse_num(s: &str) -> Result<u32, ParseNumError>
Parse a string as a u32, for timelocks or thresholds