diff --git a/src/services/lite/utils.ts b/src/services/lite/utils.ts index 7f3126fa..6cf87354 100644 --- a/src/services/lite/utils.ts +++ b/src/services/lite/utils.ts @@ -118,7 +118,7 @@ export const calculateXTZTotal = (choices: Choice[] | undefined) => { if (choices) { choices.map((choice: Choice) => { totalXTZ = choice.walletAddresses.reduce( - (total: number, walletAddress: WalletAddress) => total + walletAddress.balanceAtReferenceBlock, + (total: number, walletAddress: WalletAddress) => total + new BigNumber(walletAddress.balanceAtReferenceBlock), 0 ) })