From 73d98eedd0e940aa31479c8b6a25b62876aef479 Mon Sep 17 00:00:00 2001 From: Stan Kladko <13399135+kladkogex@users.noreply.github.com> Date: Tue, 7 Nov 2023 13:42:40 +0000 Subject: [PATCH] #1702 simplified parsing --- libethereum/Precompiled.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libethereum/Precompiled.cpp b/libethereum/Precompiled.cpp index 5e0d05e63..bd2eae9d4 100644 --- a/libethereum/Precompiled.cpp +++ b/libethereum/Precompiled.cpp @@ -723,7 +723,7 @@ static bytes stat_string_to_bytes_with_length( std::string& s ) { static dev::u256 statParseU256HexorDec( const std::string& strValue ) { if ( strValue.empty() ) return dev::u256( 0 ); - dev::u256 uValue( strValue.c_str() ); + dev::u256 uValue( strValue); return uValue; }