From 8fa323a023a5470f82e039e5a5f93fa6f4e78c45 Mon Sep 17 00:00:00 2001 From: ConstantinHvber <96701281+ConstantinHvber@users.noreply.github.com> Date: Mon, 7 Mar 2022 11:32:50 +0100 Subject: [PATCH] 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 --- slither/core/slither_core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slither/core/slither_core.py b/slither/core/slither_core.py index 58e3279c4..b1df9df6d 100644 --- a/slither/core/slither_core.py +++ b/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