Skip to content

Commit

Permalink
consolidator active check
Browse files Browse the repository at this point in the history
  • Loading branch information
brightiron committed Jan 2, 2025
1 parent 7a4df8d commit ad9e225
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
},
});
Expand Down

0 comments on commit ad9e225

Please sign in to comment.