Avoid string comparison

pull/1816/head
webthethird 2 years ago
parent da045d6db1
commit d1b34b64e7
  1. 2
      slither/utils/upgradeability.py

@ -352,7 +352,7 @@ def tainted_inheriting_contracts(
t.function t.function
for t in tainted.tainted_functions for t in tainted.tainted_functions
for call in internal_calls for call in internal_calls
if str(call) == str(t.function) if call == t.function
), ),
next( next(
( (

Loading…
Cancel
Save