Merge branch 'dev' into dev-late-subdenomination-conversion

pull/305/head
Josselin 5 years ago
commit a8b4959ea8
  1. 2
      slither/detectors/naming_convention/naming_convention.py

@ -92,6 +92,8 @@ Solidity defines a [naming convention](https://solidity.readthedocs.io/en/v0.4.2
results.append(json) results.append(json)
for func in contract.functions_declared: for func in contract.functions_declared:
if func.is_constructor:
continue
if not self.is_mixed_case(func.name): if not self.is_mixed_case(func.name):
if func.visibility in ['internal', 'private'] and self.is_mixed_case_with_underscore(func.name): if func.visibility in ['internal', 'private'] and self.is_mixed_case_with_underscore(func.name):
continue continue

Loading…
Cancel
Save