From efeca7fc74a23d0b50828f730de3e5a113306659 Mon Sep 17 00:00:00 2001 From: Vignesh Date: Thu, 22 Aug 2024 20:33:42 +0530 Subject: [PATCH] bug fix --- backend/src/routes/paymaster-routes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/routes/paymaster-routes.ts b/backend/src/routes/paymaster-routes.ts index d664431..d495d17 100644 --- a/backend/src/routes/paymaster-routes.ts +++ b/backend/src/routes/paymaster-routes.ts @@ -200,9 +200,9 @@ const paymasterRoutes: FastifyPluginAsync = async (server) => { ) return reply.code(ReturnCode.FAILURE).send({ error: ErrorMessage.UNSUPPORTED_NETWORK_TOKEN }) const networkConfig = getNetworkConfig(chainId, supportedNetworks ?? '', entryPoint); - server.log.warn(networkConfig, `Network Config fetched for ${api_key}: `); if (!networkConfig) return reply.code(ReturnCode.FAILURE).send({ error: ErrorMessage.UNSUPPORTED_NETWORK }); if (networkConfig.bundler.includes('etherspot.io')) networkConfig.bundler = `${networkConfig.bundler}?api-key=${bundlerApiKey}`; + server.log.warn(networkConfig, `Network Config fetched for ${api_key}: `); let result: any; switch (mode.toLowerCase()) {