From c3ca090beac93f6864b90e6be4ecf08b6d45dacb Mon Sep 17 00:00:00 2001 From: Corey Soreff Date: Mon, 11 Mar 2024 19:02:18 +0900 Subject: [PATCH] lint --- src/services/lite/utils.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/services/lite/utils.ts b/src/services/lite/utils.ts index 5109d2d0..ec20ac1a 100644 --- a/src/services/lite/utils.ts +++ b/src/services/lite/utils.ts @@ -118,7 +118,8 @@ export const calculateXTZTotal = (choices: Choice[] | undefined) => { if (choices) { choices.map((choice: Choice) => { totalXTZ = choice.walletAddresses.reduce( - (total: BigNumber, walletAddress: WalletAddress) => total + new BigNumber(walletAddress.balanceAtReferenceBlock), + (total: BigNumber, walletAddress: WalletAddress) => + total + new BigNumber(walletAddress.balanceAtReferenceBlock), 0 ) })