Skip to content

Commit e2666d8

Browse files
committed
Update Neutron approval function to use string in proposal_id
1 parent 124e14c commit e2666d8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/pages/Cosmos/CosmosApproveProposalslPage.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const CosmosApproveProposalslPage = () => {
7676
const voteValue = 'yes';
7777
const txMsg = {
7878
vote: {
79-
proposal_id: proposalId,
79+
proposal_id: String(proposalId),
8080
vote: voteValue,
8181
},
8282
};

src/pages/Cosmos/CosmosProposalDetails.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ const CosmosProposalDetails = () => {
185185
const voteValue = 'yes';
186186
const txMsg = {
187187
vote: {
188-
proposal_id: proposalId,
188+
proposal_id: String(proposalId),
189189
vote: voteValue,
190190
},
191191
};

0 commit comments

Comments
 (0)