Refactoring revertReasonIfDebug in YulUtilFunctions.

This commit is contained in:
Djordje Mijovic
2020-06-12 11:39:01 +02:00
parent 21a9d3dd21
commit fa69eaf11b
12 changed files with 83 additions and 31 deletions
@@ -48,7 +48,11 @@ object \"C_10\" {
revert(0, 0)
function abi_decode_tuple_(headStart, dataEnd) {
if slt(sub(dataEnd, headStart), 0) { revert(0, 0) }
if slt(sub(dataEnd, headStart), 0) { {
revert(0, 0)
} }
}