From bce42f594ca641995f53a2cf0958ef82bfdd9798 Mon Sep 17 00:00:00 2001 From: Ryan Ghods Date: Tue, 2 Jan 2024 14:07:42 -0800 Subject: [PATCH] fix --- src/utils/utils.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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,