A flow stream should be able to be paused at any time by the stream sender, however due to insufficient validation in restarting a stream, if a stream is restarted with an rps of 0, it can never be paused again.
pausing a stream requires that it not be paused in the first place here
This redundant check is the reason if a stream is restarted with an rps of 0, it can never be paused
sender will be unable to pause a stream once it is restarted.
manual review
Add input validation for stream restarting or remove NotPaused() modifier because pausing a stream that is already paused should not be an issue as long as it is just adjusting the rps to 0.
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.