Loosen bounds on external-functions detector

pull/117/head
David Pokora 6 years ago
parent bb057c1435
commit 665b71ce0a
No known key found for this signature in database
GPG Key ID: 3CED48D1BB21BDD7
  1. 4
      slither/detectors/functions/external_function.py

@ -109,8 +109,8 @@ class ExternalFunction(AbstractDetector):
if self._contains_internal_dynamic_call(contract):
dynamic_call_contracts.add(contract)
# Loop through all not-inherited contracts.
for contract in self.slither.contracts_derived:
# Loop through all contracts
for contract in self.contracts:
# Filter false-positives: Immediately filter this contract if it's in blacklist
if contract in dynamic_call_contracts:

Loading…
Cancel
Save