immediately return value

pull/1225/head
Joran Honig 5 years ago
parent 5063b6882c
commit 172394184d
  1. 3
      mythril/laser/ethereum/state/global_state.py

@ -98,8 +98,7 @@ class GlobalState:
try: try:
return instructions[self.mstate.pc] return instructions[self.mstate.pc]
except KeyError: except KeyError:
new_instruction = {"address": self.mstate.pc, "opcode": "STOP"} return {"address": self.mstate.pc, "opcode": "STOP"}
return new_instruction
@property @property
def current_transaction( def current_transaction(

Loading…
Cancel
Save