fixed error when popping blocks containing multiple STAKE TXs; fixed 'version' command in daemon; bumped version number

This commit is contained in:
Some Random Crypto Guy
2024-06-23 08:56:59 +01:00
parent 3e012bc1fb
commit c20ab30963
3 changed files with 18 additions and 7 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ namespace rpc
bool is_version_string_valid(const std::string& str)
{
return std::regex_match(str, std::regex(
"^\\d{1,2}(\\.\\d{1,2}){3}(-(release|[0-9a-f]{9}))?$",
"^\\d{1,2}(\\.\\d{1,2}){2}(-(release|[0-9a-f]{9}))?.+$",
std::regex_constants::nosubs
));
}