From e6854661134885ecd2fe33939cd7dd39fdec671d Mon Sep 17 00:00:00 2001 From: Corey Soreff Date: Mon, 11 Mar 2024 18:00:10 +0900 Subject: [PATCH] fix --- src/services/lite/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/lite/utils.ts b/src/services/lite/utils.ts index cdef1972..d384aeb6 100644 --- a/src/services/lite/utils.ts +++ b/src/services/lite/utils.ts @@ -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