From 3652a82cba16eaf01c901b09ade04859b58df455 Mon Sep 17 00:00:00 2001 From: Stan Kladko <13399135+kladkogex@users.noreply.github.com> Date: Mon, 6 Nov 2023 13:41:53 +0000 Subject: [PATCH] #1702 changed to standard boost library --- libethereum/Precompiled.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libethereum/Precompiled.cpp b/libethereum/Precompiled.cpp index 91804542f..dd0337608 100644 --- a/libethereum/Precompiled.cpp +++ b/libethereum/Precompiled.cpp @@ -39,6 +39,7 @@ #include #include #include +#include #include @@ -758,7 +759,8 @@ static dev::u256 stat_parse_u256_hex_or_dec( const std::string& strValue ) { } static bool isCallToHistoricData( const std::string& callData ) { - return skutils::tools::wildcmp( "skaleConfig.sChain.nodes.*", callData.c_str() ); + // in C++ 20 there is string::starts_with, but we do not use C++ 20 yet + boost::algorithm::starts_with(callData, "skaleConfig.sChain.nodes."); } static std::pair< std::string, unsigned > parseHistoricFieldReuqest( const std::string& callData ) {