Merge branch 'dynamic_timeout_presets' into berndtz_experimental

berndtz_experimental
Bernhard Mueller 6 years ago
commit 23c085038f
  1. 2
      mythril/interfaces/cli.py

@ -418,9 +418,9 @@ def execute_command(
timeout = dynamic_timeout.get_timeout( timeout = dynamic_timeout.get_timeout(
len(disassembler.contracts[0].creation_code), args.dynamic_timeout len(disassembler.contracts[0].creation_code), args.dynamic_timeout
) )
log.info("Execution timeout set dynamically: {}s".format(timeout))
else: else:
timeout = args.execution_timeout timeout = args.execution_timeout
log.debug("Set dynamic execution timeout: {}".format(timeout))
analyzer = MythrilAnalyzer( analyzer = MythrilAnalyzer(
strategy=args.strategy, strategy=args.strategy,

Loading…
Cancel
Save