helpers#calculateSegmentTimestamps can directly return when segmentCount is 0 or 1
Function helpers#calculateSegmentTimestamps:
When segmentCount is 0 or 1, the function can directly return instead of subsequently calling the for loop.
Cost more gas.
vscode, Manual Review
The function can directly return when segmentCount is 0 or 1.
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.