diff --git a/src/utils/Helpers.tsx b/src/utils/Helpers.tsx index 11e6a51..3d78c7b 100644 --- a/src/utils/Helpers.tsx +++ b/src/utils/Helpers.tsx @@ -184,7 +184,7 @@ export const getFormatedFee = (fee: Transfer["fee"]): string => { resource: { decimals }, tokenSymbol, } = fee - formatedFee = `${ethers.formatUnits(fee.amount, decimals).toString()} ${tokenSymbol.toUpperCase()}` + formatedFee = `${ethers.formatUnits(fee.amount, decimals !== 0 ? decimals : 18).toString()} ${tokenSymbol.toUpperCase()}` } return formatedFee