From 314ceeb3c28b84a955e1dc010342c328ed5162e7 Mon Sep 17 00:00:00 2001 From: "Khang Vo (doublevkay)" Date: Thu, 26 Oct 2023 16:47:13 +0700 Subject: [PATCH] remove ambiguous relation between _is_upgradeable and _is_upgradeable_proxy --- slither/core/declarations/contract.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/slither/core/declarations/contract.py b/slither/core/declarations/contract.py index 458f951f5..359658cbd 100644 --- a/slither/core/declarations/contract.py +++ b/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: