check for new records to work on

pull/544/head
Nikhil Parasaram 6 years ago
parent ef7257a1c3
commit d7df0c132c
  1. 3
      mythril/laser/ethereum/taint_analysis.py

@ -107,7 +107,8 @@ class TaintRunner:
records = TaintRunner.execute_node(node, record, index)
result.add_records(records)
if len(records) == 0: # continue if there is no record to work on
continue
children = TaintRunner.children(node, statespace, environment, transaction_stack_length)
for child in children:
current_nodes.append((child, records[-1], 0))

Loading…
Cancel
Save