eip-615: BEGINDATA instruction finishes the analysis

This commit is contained in:
Yoichi Hirai 2017-06-16 18:34:36 +02:00
parent c5c0c4d207
commit 4d3d19ea7e
No known key found for this signature in database
GPG Key ID: E7B75D080FCF7992

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
return false
if instruction is STOP, RETURN, or SUICIDE
if instruction is STOP, RETURN, SUICIDE or BEGINDATA
return true
// violates single entry