Merge pull request #647 from pirapira/begindata_end

eip-615: BEGINDATA instruction finishes the analysis
This commit is contained in:
Greg Colvin 2017-06-20 12:13:16 -06:00 committed by GitHub
commit 9bf0125f46

View File

@ -298,7 +298,7 @@ The basic approach is to call `validate_subroutine(i, 0, 0)`, for _i_ equal to t
if SP > 1024 if SP > 1024
return false return false
if instruction is STOP, RETURN, or SUICIDE if instruction is STOP, RETURN, SUICIDE or BEGINDATA
return true return true
// violates single entry // violates single entry