From 75e17a72580eaedc7fd3181a863ba1b0818c7930 Mon Sep 17 00:00:00 2001 From: 00xSam Date: Fri, 29 Nov 2024 14:05:39 +0800 Subject: [PATCH] chore: update error message --- ts-client/src/amm/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts-client/src/amm/utils.ts b/ts-client/src/amm/utils.ts index d75eee4..cfdfdc8 100644 --- a/ts-client/src/amm/utils.ts +++ b/ts-client/src/amm/utils.ts @@ -996,7 +996,7 @@ export async function createMint( export const calculateLockAmounts = (amount: BN, feeWrapperRatio = new Decimal(0)) => { if (feeWrapperRatio?.lt(0) || feeWrapperRatio?.gt(1)) { - throw new Error('Fee wrapper percent should be between 0 and 100'); + throw new Error('Fee wrapper percent should be between 0 and 1'); } const feeWrapperLockAmount = new BN(