From 86e48b3b2baab106d3624c423a3c48a5f6179074 Mon Sep 17 00:00:00 2001 From: Alfetopito Date: Wed, 18 Oct 2023 08:58:17 +0100 Subject: [PATCH] chore: remove console logs --- .../src/modules/permit/utils/buildPermitCallData.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/cowswap-frontend/src/modules/permit/utils/buildPermitCallData.ts b/apps/cowswap-frontend/src/modules/permit/utils/buildPermitCallData.ts index af4c56f534..aba6099b8f 100644 --- a/apps/cowswap-frontend/src/modules/permit/utils/buildPermitCallData.ts +++ b/apps/cowswap-frontend/src/modules/permit/utils/buildPermitCallData.ts @@ -14,7 +14,6 @@ export async function buildEip2162PermitCallData({ const tokenName = _tokenName === 'USD//C' ? 'USD Coin' : _tokenName const callData = await eip2162Utils.buildPermitCallData(permitParams, chainId, tokenName, ...rest) - console.log(`[buildEip2162PermitCallData]`, callDataParams, callData) // For some reason, the method above removes the permit selector prefix // https://github.com/1inch/permit-signed-approvals-utils/blob/master/src/eip-2612-permit.utils.ts#L92 // Adding it back @@ -26,7 +25,6 @@ export async function buildDaiLikePermitCallData({ callDataParams, }: BuildDaiLikePermitCallDataParams): Promise { const callData = await eip2162Utils.buildDaiLikePermitCallData(...callDataParams) - console.log(`[buildDaiLikePermitCallData]`, callDataParams, callData) // Same as above, but for dai like // https://github.com/1inch/permit-signed-approvals-utils/blob/master/src/eip-2612-permit.utils.ts#L140