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 acfafee4fe
commit f3df6752b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      slither/printers/summary/printer_human_summary.py

@ -19,7 +19,7 @@ class PrinterHumanSummary(AbstractPrinter):
functions_name = [f.name for f in contract.functions]
state_variables = [v.name for v in contract.state_variables]
if 'paused' in functions_name or 'pause' in functions_name:
if 'pause' in functions_name:
txt += "\t\t Can be paused? : {}\n".format(yellow('Yes'))
else:
txt += "\t\t Can be paused? : {}\n".format(green('No'))

Loading…
Cancel
Save