Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
rajranjan0608 committed Dec 14, 2023
1 parent 0cabec8 commit b9c6e6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ router.post('/sendToken', captcha.middleware, async (req: any, res: any) => {

// logging requests (if enabled)
DEBUG && console.log("New faucet request:", JSON.stringify({
"type": "NewFaucetRequest",
"address": address,
"chain": chain,
"erc20": erc20,
Expand Down
1 change: 1 addition & 0 deletions utils/mainnetBalanceCheck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export async function checkMainnetBalance(faucetConfigId: string, rpc: string, a
const balance = parseInt(response.data.result)
if (balance > threshold) {
console.log("Successful FaucetMainnetBalanceCheck:", JSON.stringify({
type: "FaucetMainnetBalanceCheckSuccess",
chain: faucetConfigId,
address: address,
balance: balance,
Expand Down

0 comments on commit b9c6e6d

Please sign in to comment.