Skip to content

Commit

Permalink
Inline a variable
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgall committed Nov 5, 2024
1 parent 5fcbc7d commit 78ba1d7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions contracts/modules/DecentSablierStreamManagementModule.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ contract DecentSablierStreamManagementModule {
address to
) public {
// Check if there are funds to withdraw
uint128 withdrawableAmount = sablier.withdrawableAmountOf(streamId);
if (withdrawableAmount == 0) {
if (sablier.withdrawableAmountOf(streamId) == 0) {
return;
}

Expand Down

0 comments on commit 78ba1d7

Please sign in to comment.