Skip to content

Commit

Permalink
Merge pull request #3254 from OlympusDAO/consolidatorActive
Browse files Browse the repository at this point in the history
consolidator active check
  • Loading branch information
brightiron authored Jan 2, 2025
2 parents 7a4df8d + ad9e225 commit 0ad23b1
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 0ad23b1

Please sign in to comment.