Open code423n4 opened 3 years ago
pauliax
function setBigFishThreshold should require that _percent is not above PERCENTAGE_DECIMAL_FACTOR if it is not intended to have it over 100%.
require _percent <= PERCENTAGE_DECIMAL_FACTOR
Handle
pauliax
Vulnerability details
Impact
function setBigFishThreshold should require that _percent is not above PERCENTAGE_DECIMAL_FACTOR if it is not intended to have it over 100%.
Recommended Mitigation Steps
require _percent <= PERCENTAGE_DECIMAL_FACTOR