From 589dfb1251100b495a9742de39454382c58db6f8 Mon Sep 17 00:00:00 2001 From: Oleh Nikolaiev Date: Fri, 8 Dec 2023 16:16:59 +0000 Subject: [PATCH] #1744 remove commented code --- libskale/State.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libskale/State.cpp b/libskale/State.cpp index 317959f13..230543a61 100644 --- a/libskale/State.cpp +++ b/libskale/State.cpp @@ -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";