There are no checks to ensure MAX_SEGMENT_COUNT <= 300
In the documentation it is written that the max segments should be 300. There is an immutable variable that is used to ensure that the maximum number of segments is not exceeded. MAX_SEGMENT_COUNT
value is set in the constructor but there are not checks if it is <= 300. It is an immutable variable meaning if it is set once it can not be changed so provide checks before setting it.
There are no checks to ensure MAX_SEGMENT_COUNT <= 300
Manual Review
If check to ensure the value is <= 300
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.