|
|
@ -123,8 +123,8 @@ def get_callee_account(global_state, callee_address, dynamic_loader): |
|
|
|
try: |
|
|
|
try: |
|
|
|
code = dynamic_loader.dynld(environment.active_account.address, callee_address) |
|
|
|
code = dynamic_loader.dynld(environment.active_account.address, callee_address) |
|
|
|
except ValueError as error: |
|
|
|
except ValueError as error: |
|
|
|
logging.debug("Unable to execute dynamic loader because: {}".format(error.message)) |
|
|
|
logging.debug("Unable to execute dynamic loader because: {}".format(str(error))) |
|
|
|
raise ValueError(error.message) |
|
|
|
raise ValueError(str(error)) |
|
|
|
if code is None: |
|
|
|
if code is None: |
|
|
|
logging.debug("No code returned, not a contract account?") |
|
|
|
logging.debug("No code returned, not a contract account?") |
|
|
|
raise ValueError() |
|
|
|
raise ValueError() |
|
|
|