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:
return instructions[self.mstate.pc]
except KeyError:
new_instruction = {"address": self.mstate.pc, "opcode": "STOP"}
return new_instruction
return {"address": self.mstate.pc, "opcode": "STOP"}
@property
def current_transaction(

Loading…
Cancel
Save