Skip to content

Commit

Permalink
docs: add missing natspec for notVoided modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
andreivladbrg committed Nov 3, 2024
1 parent bdd2c99 commit 8b32598
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/abstracts/SablierFlowBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ abstract contract SablierFlowBase is
_;
}

/// @dev Checks that `streamId` does not reference a voided stream.
modifier notVoided(uint256 streamId) {
if (_streams[streamId].isVoided) {
revert Errors.SablierFlow_StreamVoided(streamId);
Expand Down

0 comments on commit 8b32598

Please sign in to comment.