diff --git a/slither/utils/upgradeability.py b/slither/utils/upgradeability.py index 7316b480d..df782ef6f 100644 --- a/slither/utils/upgradeability.py +++ b/slither/utils/upgradeability.py @@ -352,7 +352,7 @@ def tainted_inheriting_contracts( t.function for t in tainted.tainted_functions for call in internal_calls - if str(call) == str(t.function) + if call == t.function ), next( (