mirror of https://github.com/status-im/EIPs.git
eip-165: when the first loop hits BEGINDATA, the second loop should still run
This commit is contained in:
parent
9bf0125f46
commit
38521eb093
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue