Add return statement

pull/311/head
Joran Honig 6 years ago
parent 631ebe07b7
commit 6bbab6855a
  1. 7
      mythril/laser/ethereum/call.py

@ -111,10 +111,13 @@ def get_callee_account(global_state, callee_address, dynamic_loader):
if code is None: if code is None:
logging.info("No code returned, not a contract account?") logging.info("No code returned, not a contract account?")
raise ValueError() raise ValueError()
logging.info("Dependency loaded: " + callee_address)
accounts[callee_address] = Account(callee_address, code, callee_address) callee_account = Account(callee_address, code, callee_address)
accounts[callee_address] = callee_account
return callee_account
logging.info("Dependency loaded: " + callee_address)
def get_call_data(global_state, memory_start, memory_size, pad=True): def get_call_data(global_state, memory_start, memory_size, pad=True):

Loading…
Cancel
Save