Remove unnecessary uppercase check

pull/1470/head
Ardis Lu 2 years ago
parent 880f5a45ac
commit d4adca66da
No known key found for this signature in database
  1. 1
      slither/detectors/naming_convention/naming_convention.py

@ -119,7 +119,6 @@ Solidity defines a [naming convention](https://solidity.readthedocs.io/en/v0.4.2
for var in contract.state_variables_declared: for var in contract.state_variables_declared:
if self.should_avoid_name(var.name): if self.should_avoid_name(var.name):
if not self.is_upper_case_with_underscores(var.name):
info = [ info = [
"Variable ", "Variable ",
var, var,

Loading…
Cancel
Save