From 04c71c24bbdc6344a920b6dcd8b0d6434ca6325f Mon Sep 17 00:00:00 2001 From: webthethird Date: Tue, 28 Feb 2023 12:13:06 -0600 Subject: [PATCH] Add return statement (whoops!) --- slither/utils/upgradeability.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/slither/utils/upgradeability.py b/slither/utils/upgradeability.py index 9eedc6dfe..975015743 100644 --- a/slither/utils/upgradeability.py +++ b/slither/utils/upgradeability.py @@ -74,6 +74,8 @@ def compare(v1: Contract, v2: Contract) -> dict: elif any(func in read_by or func in written_by for func in new_modified_functions): results["tainted-variables"].append(var) + return results + def is_function_modified(f1: Function, f2: Function) -> bool: """