We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6eb5737 commit 31249beCopy full SHA for 31249be
eth/vm/logic/flow.py
@@ -68,7 +68,7 @@ def beginsub(computation: BaseComputation) -> None:
68
69
def jumpsub(computation: BaseComputation) -> None:
70
sub_loc = computation.stack_pop1_int()
71
- code_range_length = computation.code._length_cache
+ code_range_length = computation.code.__len__()
72
73
if sub_loc >= code_range_length:
74
raise InvalidJumpDestination(
0 commit comments