[ARCHIVED] ethereum.org website from 2016-2019. See https://github.com/ethereum/ethereum-org-website for current version.
GNU Lesser General Public License v3.0
407
stars
1.39k
forks
source link
Update token-erc20.sol #953
Open
CHAINDEV2016 opened 3 years ago
Integer Overflow There may be an integer Overflow error
55、uint previousBalances = balanceOf[_from] + balanceOf[_to]; 62、assert(balanceOf[_from] + balanceOf[_to] == previousBalances); 38、 totalSupply = initialSupply * 10 ** uint256(decimals); // Update total supply with the decimal amount 138、 totalSupply -= _value; // Updates totalSupply