WIP: Fixed code for detecting solc version

pull/1022/head
Tadashi 3 years ago
parent 38dcee3744
commit 77a23a9448
  1. 2
      slither/detectors/functions/external_function.py

@ -109,7 +109,7 @@ class ExternalFunction(AbstractDetector):
results = []
# After solc 0.6.9, calldata arguments are allowed in public functions
if self.compilation_unit.solc_version >= "0.6.9":
if self.compilation_unit.solc_version >= "0.7." or self.compilation_unit.solc_version in ["0.6.9","0.6.10","0.6.11"]:
return []
# Create a set to track contracts with dynamic calls. All contracts with dynamic calls could potentially be

Loading…
Cancel
Save