From 3cf7133b86274a59debb2c4ca4b557a212c68885 Mon Sep 17 00:00:00 2001 From: MrX-SNX Date: Fri, 23 Aug 2024 14:06:30 +0100 Subject: [PATCH] ref: update motherchain (#408) --- governance/ui/src/mutations/useCastVotes.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/governance/ui/src/mutations/useCastVotes.ts b/governance/ui/src/mutations/useCastVotes.ts index ba3feda21..cad130219 100644 --- a/governance/ui/src/mutations/useCastVotes.ts +++ b/governance/ui/src/mutations/useCastVotes.ts @@ -40,7 +40,8 @@ export function useCastVotes( mutationKey: ['cast', councils.toString(), JSON.stringify(candidates)], mutationFn: async () => { if (signer && network && multicall) { - const isMotherchain = network.id === (process.env.CI === 'true' ? 13001 : 2192); + const isMotherchain = true; + // network.id === (process.env.CI === 'true' ? 13001 : 2192); try { const electionModules = councils.map((council) => getCouncilContract(council).connect(signer)