Skip to content

Commit

Permalink
Fixed missing v2 voting config action. (#1514)
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahSaso authored Dec 12, 2023
1 parent 36a3643 commit 02b75d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export const makeUpdateProposalConfigV2ActionMaker =
address: proposalModuleAddress,
}: ProposalModule): ActionMaker<UpdateProposalConfigData> =>
({ t, context, chain: { chain_id: chainId } }) => {
if (!version || versionGte(version, ContractVersion.V2Alpha)) {
if (!version || !versionGte(version, ContractVersion.V2Alpha)) {
return null
}

Expand Down

2 comments on commit 02b75d1

@vercel
Copy link

@vercel vercel bot commented on 02b75d1 Dec 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 02b75d1 Dec 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.