mirror of
https://github.com/status-im/EIPs.git
synced 2025-02-28 14:40:32 +00:00
Merge pull request #645 from pirapira/first_loop_second_loop
eip-165: when the first loop hits BEGINDATA, the second loop should still run
This commit is contained in:
commit
606405b5ab
@ -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…
x
Reference in New Issue
Block a user