Function parse_num

Source
pub fn parse_num<T: FromStr>(s: &str) -> Result<T, Error>
Expand description

Parse a string as a u32, for timelocks or thresholds