Fix missed _cache and _issue names

fix/constraints-after-issues
Nathan 5 years ago
parent e6963632df
commit 4342785c5d
  1. 4
      mythril/analysis/potential_issues.py

@ -90,8 +90,8 @@ def check_potential_issues(state: GlobalState) -> None:
continue continue
annotation.potential_issues.remove(potential_issue) annotation.potential_issues.remove(potential_issue)
potential_issue.detector._cache.add(potential_issue.address) potential_issue.detector.cache.add(potential_issue.address)
potential_issue.detector._issues.append( potential_issue.detector.issues.append(
Issue( Issue(
contract=potential_issue.contract, contract=potential_issue.contract,
function_name=potential_issue.function_name, function_name=potential_issue.function_name,

Loading…
Cancel
Save