From be70feea176d8e17b4cb1088098c37a349aea94b Mon Sep 17 00:00:00 2001 From: Anton Shalimov Date: Mon, 25 Nov 2024 11:16:04 +0300 Subject: [PATCH] fix: tests --- utils/formatBalance.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/formatBalance.ts b/utils/formatBalance.ts index 1ed9f420..f98fc39f 100644 --- a/utils/formatBalance.ts +++ b/utils/formatBalance.ts @@ -20,7 +20,7 @@ export const formatBalance = ( }: FormatBalanceArgs = {}, ) => { let actual = formatEther(balance); - // formatEther from viem returns without '.0' + // the 'formatEther' from 'viem' returns without '.0' - decimals part (if the number is greater than 0 and does not have a decimal part) if (!actual.includes('.')) { actual += '.0'; }