Judge has assessed an item in Issue #272 as 2 risk. The relevant finding follows:
function _removeTokenEnumeration(address from, address to, uint256 id, uint256 amount) internal {
if (to == address(0)) {
if (_idTotalSupply[id] == 0 && _additionalConditionRemoveTokenFromAllTokensEnumeration(id)) _removeTokenFromAllTokensEnumeration(id);
_idTotalSupply[id] -= amount;
if (_idTotalSupply[id] == 0 && _additionalConditionRemoveTokenFromAllTokensEnumeration(id)) _removeTokenFromAllTokensEnumeration(id);
}
The text was updated successfully, but these errors were encountered:
All reactions