Use unchecked
keyword
#113
Labels
bug
Something isn't working
duplicate
This issue or pull request already exists
G (Gas Optimization)
Handle
xYrYuYx
Vulnerability details
Impact
https://github.com/code-423n4/2021-11-nested/blob/main/contracts/NestedBuybacker.sol#L110
since burnPercentage is less than 1000, toBurn is always less than balance.
So can use
unchecked
keyword to save gas.Tools Used
Manaul
Recommended Mitigation Steps
Use
unchecked
keywordThe text was updated successfully, but these errors were encountered: