Skip to content

Commit

Permalink
Merge pull request #9221 from hicommonwealth/jake.govgen-hotfix
Browse files Browse the repository at this point in the history
Hotfix for govgen proposal loading.
  • Loading branch information
jnaviask authored Sep 13, 2024
2 parents 20928ed + b7c768b commit 13bfc43
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const getCompletedProposals = async (
const { chain, accounts, governance, meta } = cosmosChain;
console.log(cosmosChain);
const isGovgen =
meta.ChainNode?.cosmos_gov_version ===
meta.ChainNode?.cosmosGovernanceVersion ===
CosmosGovernanceVersion.v1beta1govgen;
const isV1 =
meta.ChainNode?.cosmosGovernanceVersion === CosmosGovernanceVersion.v1;
Expand Down Expand Up @@ -79,7 +79,7 @@ export const getActiveProposals = async (
): Promise<CosmosProposal[]> => {
const { chain, accounts, governance, meta } = cosmosChain;
const isGovgen =
meta.ChainNode?.cosmos_gov_version ===
meta.ChainNode?.cosmosGovernanceVersion ===
CosmosGovernanceVersion.v1beta1govgen;
const isV1 =
meta.ChainNode?.cosmosGovernanceVersion === CosmosGovernanceVersion.v1;
Expand Down

0 comments on commit 13bfc43

Please sign in to comment.