Fix incorrect erc20.decimals type

pull/350/head
Josselin 5 years ago
parent 752d5bd2de
commit cb1964387b
  1. 2
      slither/utils/erc.py

@ -29,7 +29,7 @@ ERC20 = [ERC('totalSupply', [], 'uint256', True, True, []),
ERC20_OPTIONAL = [ERC('name', [], 'string', True, False, []), ERC20_OPTIONAL = [ERC('name', [], 'string', True, False, []),
ERC('symbol', [], 'string', True, False, []), ERC('symbol', [], 'string', True, False, []),
ERC('decimals', [], 'string', True, False, [])] ERC('decimals', [], 'uint8', True, False, [])]
ERC20 = ERC20 + ERC20_OPTIONAL ERC20 = ERC20 + ERC20_OPTIONAL

Loading…
Cancel
Save