Fixed infinite recursion in show_ignore_findings

"show_ignore_findings" calls itself instead of returning a similar named variable.
This causes an infinite recursion, resulting in an RecursionError when creating a Slither Object via the Python API
pull/1092/head
ConstantinHvber 3 years ago committed by GitHub
parent e3392dd694
commit 8fa323a023
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      slither/core/slither_core.py

@ -332,6 +332,6 @@ class SlitherCore(Context):
@property
def show_ignore_findings(self) -> bool:
return self.show_ignore_findings
return self._show_ignored_findings
# endregion

Loading…
Cancel
Save