Skip to content

Commit

Permalink
Fix order of returned "getProposalVotes" properties
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgall committed May 19, 2024
1 parent 62b7a5a commit ae94995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/azorius.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const getProposalVotesSummary = async (
}

if (erc20Strategy !== undefined) {
const [yesVotes, noVotes, abstainVotes] = await erc20Strategy.read.getProposalVotes([
const [noVotes, yesVotes, abstainVotes] = await erc20Strategy.read.getProposalVotes([
Number(proposalId),
]);

Expand Down

0 comments on commit ae94995

Please sign in to comment.