https://github.com/Cyfrin/2024-10-sablier/blob/main/src/SablierFlow.sol#L728
this function handles the voiding of a stream by the sender of the stream or the recipient, but thia function lack a way to return remaining funds to the sender if stream is voided by recipient which can lead to lost of fund
because there is no return of funds to the sender when this function is called
The _void
function does not ensure that funds are returned to the sender if the recipient calls it. While it includes checks and updates to the stream state, it lacks a mechanism to transfer remaining funds back to the sender which can lead to lost of fund
manaul
consider implementing a mechanism that allows the sender to reclaim their funds after voiding a stream
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.