From 38f12aab6bc8d299ac21cf7bb848fa6ab04c970e Mon Sep 17 00:00:00 2001 From: Utkarsh <83659045+0xShuk@users.noreply.github.com> Date: Fri, 29 Nov 2024 17:27:00 +0530 Subject: [PATCH] fix error --- hub/components/NewWallet/useGovernanceDefaults.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hub/components/NewWallet/useGovernanceDefaults.ts b/hub/components/NewWallet/useGovernanceDefaults.ts index ec40448d6..a005c8b09 100644 --- a/hub/components/NewWallet/useGovernanceDefaults.ts +++ b/hub/components/NewWallet/useGovernanceDefaults.ts @@ -45,6 +45,7 @@ const configs2defaults = (configs: GovernanceConfig[]) => { const x: Omit = { communityTokenRules: { + tokenMintAddress: PublicKey.default, canCreateProposal: enableCommunityVote && !highestMinCommunityTokensToCreateProposal.eq(DISABLED_VOTER_WEIGHT), @@ -59,6 +60,7 @@ const configs2defaults = (configs: GovernanceConfig[]) => { voteTipping: GovernanceVoteTipping.Disabled, }, councilTokenRules: { + tokenMintAddress: PublicKey.default, canCreateProposal: enableCouncilVote && !highestMinCouncilTokensToCreateProposal.eq(DISABLED_VOTER_WEIGHT),