Description: The _statusOf function checks if the stream is isDepleted or wasCanceled before checking the startTime and endTime. These checks are redundant because if the stream is isDepleted or wasCanceled, the status will be DEPLETED or CANCELED respectively, regardless of the startTime and endTime.
Impact: The redundant checks add unnecessary gas cost to every call to statusOf.
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.