Skip to content

Commit

Permalink
#1702 simplified parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
kladkogex committed Nov 7, 2023
1 parent 7c8653a commit 73d98ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libethereum/Precompiled.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ static bytes stat_string_to_bytes_with_length( std::string& s ) {
static dev::u256 statParseU256HexorDec( const std::string& strValue ) {

Check warning on line 723 in libethereum/Precompiled.cpp

View check run for this annotation

Codecov / codecov/patch

libethereum/Precompiled.cpp#L723

Added line #L723 was not covered by tests
if ( strValue.empty() )
return dev::u256( 0 );
dev::u256 uValue( strValue.c_str() );
dev::u256 uValue( strValue);

Check warning on line 726 in libethereum/Precompiled.cpp

View check run for this annotation

Codecov / codecov/patch

libethereum/Precompiled.cpp#L726

Added line #L726 was not covered by tests
return uValue;
}

Expand Down

0 comments on commit 73d98ee

Please sign in to comment.