Update slither/printers/summary/printer_human_summary.py

Co-Authored-By: montyly <josselin.feist@gmail.com>
pull/28/head
Disconnect3d 6 years ago committed by GitHub
parent c4fcf4ffb9
commit fff9db469a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      slither/printers/summary/printer_human_summary.py

@ -16,7 +16,7 @@ class PrinterHumanSummary(AbstractPrinter):
@staticmethod @staticmethod
def get_summary_erc20(contract): def get_summary_erc20(contract):
txt = '' txt = ''
functions_name = [f.name for f in contract.functions] functions_name = [f.name.lower() for f in contract.functions]
state_variables = [v.name.lower() for v in contract.state_variables] state_variables = [v.name.lower() for v in contract.state_variables]
if 'pause' in functions_name: if 'pause' in functions_name:

Loading…
Cancel
Save