Skip to content

Commit

Permalink
Set self._pc (not self.pc) in __init__.
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Sep 6, 2019
1 parent 8003610 commit 86add58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manticore/platforms/evm.py
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ def extend_with_zeroes(b):
# self.invalid = set()

# Machine state
self.pc = 0
self._pc = 0
self.stack = []
# We maintain gas as a 512 bits internally to avoid overflows
# it is shortened to 256 bits when it is used by the GAS instruction
Expand Down

0 comments on commit 86add58

Please sign in to comment.