From ad9e225b618e82bcea20b7a135a04d465e59a06f Mon Sep 17 00:00:00 2001 From: brightiron Date: Thu, 2 Jan 2025 09:00:51 -0600 Subject: [PATCH] consolidator active check --- src/views/Lending/Cooler/hooks/useCheckConsolidatorActive.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Lending/Cooler/hooks/useCheckConsolidatorActive.tsx b/src/views/Lending/Cooler/hooks/useCheckConsolidatorActive.tsx index 86b895064..26d32aa8f 100644 --- a/src/views/Lending/Cooler/hooks/useCheckConsolidatorActive.tsx +++ b/src/views/Lending/Cooler/hooks/useCheckConsolidatorActive.tsx @@ -12,7 +12,7 @@ export const useCheckConsolidatorActive = () => { queryKey: ["consolidatorActive"], queryFn: async () => { const contract = CoolerConsolidation__factory.connect(COOLER_CONSOLIDATION_ADDRESSES[networks.MAINNET], provider); - const isActive = await contract.isActive(); + const isActive = await contract.consolidatorActive(); return isActive; }, });