Skip to content

Commit

Permalink
Update contractUtils.ts (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
LukaStreamflow authored Oct 9, 2023
1 parent 3da8d69 commit 77723d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/stream/common/contractUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const isPayment = (streamData: { canTopup: boolean }): boolean => {
};

export const isVesting = (streamData: { canTopup: boolean }): boolean => {
return !streamData.canTopup && !isCliffCloseToDepositedAmount;
return !streamData.canTopup && !isCliffCloseToDepositedAmount(streamData);
};

export const isTokenLock = (streamData: {
Expand Down

0 comments on commit 77723d8

Please sign in to comment.