Add missing this.totalSupply()

pull/713/head
Josselin 4 years ago
parent be002405db
commit cd95851094
  1. 2
      slither/tools/properties/properties/ercs/erc20/properties/mint.py

@ -10,7 +10,7 @@ ERC20_NotMintable = [
name="crytic_supply_constant_ERC20PropertiesNotMintable()", name="crytic_supply_constant_ERC20PropertiesNotMintable()",
description="The total supply does not increase.", description="The total supply does not increase.",
content=""" content="""
\t\treturn initialTotalSupply >= totalSupply();""", \t\treturn initialTotalSupply >= this.totalSupply();""",
type=PropertyType.MEDIUM_SEVERITY, type=PropertyType.MEDIUM_SEVERITY,
return_type=PropertyReturn.SUCCESS, return_type=PropertyReturn.SUCCESS,
is_unit_test=True, is_unit_test=True,

Loading…
Cancel
Save