Skip to content

Commit

Permalink
Fix decrease council budget proposal amount value
Browse files Browse the repository at this point in the history
  • Loading branch information
thesan committed Mar 22, 2024
1 parent d44b700 commit 3a4804a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion query-node/mappings/src/proposals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ async function parseProposalDetails(
// DecreaseCouncilBudgetProposalDetails
else if (proposalDetails.isDecreaseCouncilBudget) {
const details = new DecreaseCouncilBudgetProposalDetails()
details.amount = proposalDetails.asDecreaseCouncilBudget
details.amount = new BN(proposalDetails.asDecreaseCouncilBudget.toString())
return details
} else {
unimplementedError(`Unsupported proposal details type: ${proposalDetails.type}`)
Expand Down

0 comments on commit 3a4804a

Please sign in to comment.