diff --git a/src/regex.rs b/src/regex.rs index 85b3fbf..f93f219 100644 --- a/src/regex.rs +++ b/src/regex.rs @@ -85,6 +85,7 @@ pub struct P2poolRegex { pub block_int: Regex, pub block_comma: Regex, pub synchronized: Regex, + pub next_height_1: Regex, } impl P2poolRegex { @@ -99,6 +100,7 @@ impl P2poolRegex { block_int: Regex::new("[0-9]{7}").unwrap(), block_comma: Regex::new("[0-9],[0-9]{3},[0-9]{3}").unwrap(), synchronized: Regex::new("SYNCHRONIZED").unwrap(), + next_height_1: Regex::new("next height = 1").unwrap(), } } }