Closed code423n4 closed 3 years ago
paulius.eth
Useless checking >= 0 as uint cannot go negative: require((bp <= 10000) && (bp >= 0), "Must be correct BP"); Same here:
if(_fee >= 0 && _fee <= amount){
At some point we got rid of the tautological uint >= 0 checks.
uint >= 0
duplicate of #256
Handle
paulius.eth
Vulnerability details
Impact
Useless checking >= 0 as uint cannot go negative: require((bp <= 10000) && (bp >= 0), "Must be correct BP"); Same here:
if(_fee >= 0 && _fee <= amount){