eip-165: when the first loop hits BEGINDATA, the second loop should still run

This commit is contained in:
Yoichi Hirai 2017-06-16 15:28:39 +02:00
parent 9bf0125f46
commit 38521eb093
No known key found for this signature in database
GPG Key ID: E7B75D080FCF7992
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ Validating that jumps are to valid addresses takes two sequential passes over th
if instruction is invalid
return false
if instruction is BEGINDATA
return true
break
if instruction is BEGINSUB
is_sub[PC] = true
current_sub = PC