From b3386e034e4149283152b4281836244af5916d40 Mon Sep 17 00:00:00 2001 From: Mentlegen <9807008+gentlementlegen@users.noreply.github.com> Date: Mon, 19 Aug 2024 00:06:14 +0900 Subject: [PATCH] chore: removed logs --- src/handlers/query-wallet.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/handlers/query-wallet.ts b/src/handlers/query-wallet.ts index e565533..5537db9 100644 --- a/src/handlers/query-wallet.ts +++ b/src/handlers/query-wallet.ts @@ -75,7 +75,6 @@ function registerWalletWithVerification(context: Context, body: string, address: export async function resolveAddress(ensName: string) { // Gets the Ethereum address associated with an ENS (Ethereum Name Service) name // Explicitly set provider to Ethereum main-net - console.log("1. resolveAddress"); const rpc = new RPCHandler({ networkId: "1", networkName: "ethereum-mainnet", @@ -87,13 +86,10 @@ export async function resolveAddress(ensName: string) { tracking: "none", proxySettings: { retryCount: 0, retryDelay: 1000, logTier: "verbose", logger: null, strictLogs: true }, }); - console.log("2. resolveAddress"); const provider = await rpc.getFirstAvailableRpcProvider(); - // const provider = new ethers.JsonRpcProvider(`https://eth.drpc.org`); if (!provider) { throw new Error("Failed to get a provider."); } - console.log("3. resolveAddress"); return await provider.resolveName(ensName).catch((err) => { console.trace({ err }); return null;