mirror of
https://github.com/status-im/EIPs.git
synced 2025-01-14 00:45:05 +00:00
Merge pull request #647 from pirapira/begindata_end
eip-615: BEGINDATA instruction finishes the analysis
This commit is contained in:
commit
9bf0125f46
@ -298,7 +298,7 @@ The basic approach is to call `validate_subroutine(i, 0, 0)`, for _i_ equal to t
|
||||
if SP > 1024
|
||||
return false
|
||||
|
||||
if instruction is STOP, RETURN, or SUICIDE
|
||||
if instruction is STOP, RETURN, SUICIDE or BEGINDATA
|
||||
return true
|
||||
|
||||
// violates single entry
|
||||
|
Loading…
x
Reference in New Issue
Block a user