isPaused()
is used to determine if a stream is paused or not. The problem is that to prevent edge cases, the void()
function sets _streams[streamId].ratePerSecond
to 0, which is the condition for a stream to be considered paused.
However, isPaused()
does not differentiate between a paused stream and a voided one, leading the function to incorrectly indicate that voided streams are paused.
Likelyhood: High
Every call on isPaused()
with a voided stream will return true
.
Impact: Low
Incorrect state: voided streams are marked as paused instead of reverting.
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.