Skip to content

Commit

Permalink
#1744 remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
olehnikolaiev committed Dec 8, 2023
1 parent c5ff090 commit 589dfb1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions libskale/State.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1030,11 +1030,6 @@ std::pair< ExecutionResult, TransactionReceipt > State::execute( EnvInfo const&

std::string strRevertReason;
if ( res.excepted == dev::eth::TransactionException::RevertInstruction ) {
// if ( res.output.size() == 4 ) {
// strRevertReason = dev::toHex( res.output );
// } else {
// strRevertReason = skutils::eth::call_error_message_2_str( res.output );
// }
strRevertReason = dev::errorMessageToString( res.output );
if ( strRevertReason.empty() )
strRevertReason = "EVM revert instruction without description message";
Expand Down

0 comments on commit 589dfb1

Please sign in to comment.