From 2b81c02c612929c26bded0b32f87fde7d05ea040 Mon Sep 17 00:00:00 2001 From: "Khang Vo (doublevkay)" Date: Mon, 30 Oct 2023 12:08:20 +0700 Subject: [PATCH] make lint --- slither/detectors/statements/unprotected_upgradeable.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/slither/detectors/statements/unprotected_upgradeable.py b/slither/detectors/statements/unprotected_upgradeable.py index b03211423..59f27fc58 100644 --- a/slither/detectors/statements/unprotected_upgradeable.py +++ b/slither/detectors/statements/unprotected_upgradeable.py @@ -49,10 +49,6 @@ def _whitelisted_modifiers(f: Function) -> bool: # https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable/blob/3dec82093ea4a490d63aab3e925fed4f692909e8/contracts/proxy/utils/UUPSUpgradeable.sol#L38-L42 return "onlyProxy" not in [modifier.name for modifier in f.modifiers] - -import re - - def _initialize_functions(contract: Contract) -> List[Function]: return list( filter(