From ea8190fe189f34f9c7030cfaa881ed88d5fcf2fb Mon Sep 17 00:00:00 2001 From: nick134 <76399455+nick134-bit@users.noreply.github.com> Date: Mon, 11 Nov 2024 22:36:53 +0100 Subject: [PATCH] fix: uint128 safety dont look --- util/messages/createIncreaseAllowanceMessage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/messages/createIncreaseAllowanceMessage.ts b/util/messages/createIncreaseAllowanceMessage.ts index 853a239a..04a15445 100644 --- a/util/messages/createIncreaseAllowanceMessage.ts +++ b/util/messages/createIncreaseAllowanceMessage.ts @@ -21,7 +21,7 @@ export const createIncreaseAllowanceMessage = ({ contract: tokenAddress, msg: toUtf8(JSON.stringify({ increase_allowance: { - amount: `${Number(tokenAmount)}`, + amount: `${tokenAmount}`, spender: `${swapAddress}`, }, })),