From 172394184de39ee57eb709dd29d6b005938cea76 Mon Sep 17 00:00:00 2001 From: Joran Honig Date: Mon, 30 Sep 2019 16:15:36 +0200 Subject: [PATCH] immediately return value --- mythril/laser/ethereum/state/global_state.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mythril/laser/ethereum/state/global_state.py b/mythril/laser/ethereum/state/global_state.py index 0e15209d..88d297c4 100644 --- a/mythril/laser/ethereum/state/global_state.py +++ b/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(