diff --git a/packages/nextjs/hooks/scaffold-stark/useScaffoldEthBalance.ts b/packages/nextjs/hooks/scaffold-stark/useScaffoldEthBalance.ts index 01b345c3..846a0c83 100644 --- a/packages/nextjs/hooks/scaffold-stark/useScaffoldEthBalance.ts +++ b/packages/nextjs/hooks/scaffold-stark/useScaffoldEthBalance.ts @@ -32,7 +32,7 @@ const useScaffoldEthBalance = ({ address }: UseScaffoldEthBalanceProps) => { const remainderStr = remainder .toString() - .padStart(ethDecimals.toString().length, "0"); + .padStart(ethDecimals.toString().length - 1, "0"); const decimalPart = remainderStr.slice(0, 4); setBalance(`${integerPart}.${decimalPart}`);