Skip to content
This repository was archived by the owner on Oct 17, 2022. It is now read-only.

Conversation

@CHAINDEV2016
Copy link

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

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant