From 77723d8164afe36ffb351043d1a9bf9d1224ac98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luka=20=C5=BDivanovi=C4=87?= <125874670+LukaStreamflow@users.noreply.github.com> Date: Mon, 9 Oct 2023 19:55:46 +0200 Subject: [PATCH] Update contractUtils.ts (#93) --- packages/stream/common/contractUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/stream/common/contractUtils.ts b/packages/stream/common/contractUtils.ts index 500d7709..d7bdb4f5 100644 --- a/packages/stream/common/contractUtils.ts +++ b/packages/stream/common/contractUtils.ts @@ -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: {