From cb1964387b8d4bfd81369349dc40d4937094940c Mon Sep 17 00:00:00 2001 From: Josselin Date: Fri, 25 Oct 2019 09:56:21 +0200 Subject: [PATCH] Fix incorrect erc20.decimals type --- slither/utils/erc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slither/utils/erc.py b/slither/utils/erc.py index 7b40e5b40..4226cdf87 100644 --- a/slither/utils/erc.py +++ b/slither/utils/erc.py @@ -29,7 +29,7 @@ ERC20 = [ERC('totalSupply', [], 'uint256', True, True, []), ERC20_OPTIONAL = [ERC('name', [], 'string', True, False, []), ERC('symbol', [], 'string', True, False, []), - ERC('decimals', [], 'string', True, False, [])] + ERC('decimals', [], 'uint8', True, False, [])] ERC20 = ERC20 + ERC20_OPTIONAL