Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rajranjan0608 committed Dec 14, 2023
1 parent e642b1f commit 2ebc14f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 2ebc14f

Please sign in to comment.