diff --git a/src/utils/utils.ts b/src/utils/utils.ts index 9ac3b6640..c06a220bc 100644 --- a/src/utils/utils.ts +++ b/src/utils/utils.ts @@ -227,7 +227,11 @@ export const getAddressAfterRemappingSharedStorefrontAddressToLazyMintAdapterAdd */ export const feesToBasisPoints = (fees: Fee[]): number => { const feeBasisPoints = fees.map((fee) => - Number(FixedNumber.fromValue(fee.fee).mul(FIXED_NUMBER_100).toString()), + Number( + FixedNumber.fromString(fee.fee.toString()) + .mul(FIXED_NUMBER_100) + .toString(), + ), ); const totalBasisPoints = feeBasisPoints.reduce( (sum, basisPoints) => basisPoints + sum,