Function miniscript::expression::parse_num
source · pub fn parse_num(s: &str) -> Result<u32, Error>
Expand description
Parse a string as a u32, for timelocks or thresholds
pub fn parse_num(s: &str) -> Result<u32, Error>
Parse a string as a u32, for timelocks or thresholds