pull/1757/head
webthethird 2 years ago
parent 4c57168441
commit 09128abf11
  1. 2
      slither/utils/upgradeability.py

@ -178,7 +178,7 @@ def get_proxy_implementation_var(proxy: Contract) -> Optional[Variable]:
dependencies = get_dependencies(delegate, proxy)
try:
delegate = next(var for var in dependencies if isinstance(var, StateVariable))
except:
except StopIteration:
return delegate
return delegate

Loading…
Cancel
Save