crytic / building-secure-contracts

Guidelines and training material to write secure smart contracts
https://secure-contracts.com/
GNU Affero General Public License v3.0
2.2k stars 343 forks source link

Update token_integration.md #289

Open snietert opened 1 year ago

snietert commented 1 year ago

Since uint8 has a max of 2**8-1, the check for an ERC20 decimals function returning uint256 should be <= 255 and not < 255.

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.