remove ambiguous relation between _is_upgradeable and _is_upgradeable_proxy

pull/2203/head
Khang Vo (doublevkay) 1 year ago
parent e38966c5f7
commit 314ceeb3c2
  1. 2
      slither/core/declarations/contract.py

@ -1337,8 +1337,6 @@ class Contract(SourceMapping): # pylint: disable=too-many-public-methods
def is_upgradeable(self) -> bool:
if self._is_upgradeable is None:
self._is_upgradeable = False
if self.is_upgradeable_proxy:
return False
initializable = self.file_scope.get_contract_from_name("Initializable")
if initializable:
if initializable in self.inheritance:

Loading…
Cancel
Save