Skip to content

Commit 683ae97

Browse files
committed
fix: removed changes to formatAmount
1 parent 0e519cf commit 683ae97

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/wallet/frontend/src/utils/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export const formatAmount = (args: FormatAmountArgs): FormattedAmount => {
4444

4545
const scaledValue = Number(`${value}e-${assetScale}`)
4646
const flooredValue =
47-
Math.floor(Math.round(scaledValue * 10 ** displayScale) / 10 ** 4) /
47+
Math.floor(Math.round(scaledValue * 10 ** displayScale)) /
4848
10 ** displayScale
4949

5050
const symbol = getCurrencySymbol(assetCode)

0 commit comments

Comments
 (0)