From 2ebc14f93d63394b7c87ff7183cdf9ccf0a8be33 Mon Sep 17 00:00:00 2001 From: Raj Ranjan Date: Fri, 15 Dec 2023 01:02:03 +0530 Subject: [PATCH] typo --- server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.ts b/server.ts index 21d4725..895b835 100644 --- a/server.ts +++ b/server.ts @@ -139,7 +139,7 @@ router.post('/sendToken', captcha.middleware, async (req: any, res: any) => { // mainnet balance checks const mainnetCheckEnabledRPC = erc20Instance?.config.MAINNET_BALANCE_CHECK_RPC ?? evm.config.MAINNET_BALANCE_CHECK_RPC ?? false let mainnetCheckPassed = false - if (mainnetCheckEnabledRPC && (await checkMainnetBalance(mainnetCheckEnabledRPC, address))) { + if (mainnetCheckEnabledRPC && (await checkMainnetBalance(faucetConfigId, mainnetCheckEnabledRPC, address))) { mainnetCheckPassed = true }