Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
csoreff committed Mar 11, 2024
1 parent ed6b406 commit e685466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/lite/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export const calculateWeightXTZ = (choice: Choice, totalXTZ: number) => {
let choiceTotal = new BigNumber(0)
let percent = new BigNumber(0)
if (choice && choice.walletAddresses.length > 0) {
choiceTotal = calculateChoiceTotal(choice.walletAddresses, 6))
choiceTotal = calculateChoiceTotal(choice.walletAddresses, 6)
percent = choiceTotal.div(totalXTZ).multipliedBy(100)
}
return percent
Expand Down

0 comments on commit e685466

Please sign in to comment.