diff --git a/contracts/modules/DecentSablierStreamManagementModule.sol b/contracts/modules/DecentSablierStreamManagementModule.sol index 18b5f97..d7aef52 100644 --- a/contracts/modules/DecentSablierStreamManagementModule.sol +++ b/contracts/modules/DecentSablierStreamManagementModule.sol @@ -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; }