Flow

Sablier
FoundryDeFi
20,000 USDC
View results
Submission Details
Severity: low
Invalid

The 'pause' function should add 'notVoided' condition

Summary

The stream voided is last status,so pause should not be execute.The 'pause' function should add 'notVoided' condition.

Vulnerability Details

The stream voided is last status, but pause status can be restart, so if steam enter voided status it can't pause.

Impact

Tools Used

Manual review

Recommendations

Add notVoided judge.

function pause(uint256 streamId)
external
override
noDelegateCall
notNull(streamId)
notPaused(streamId)
+ notVoided(streamId)
onlySender(streamId)
updateMetadata(streamId)
{
// Checks, Effects, and Interactions: pause the stream.
_pause(streamId);
}
Updates

Lead Judging Commences

inallhonesty Lead Judge
10 months ago
inallhonesty Lead Judge 9 months ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.