Skip to content

Commit

Permalink
chore: reduce some logging
Browse files Browse the repository at this point in the history
  • Loading branch information
alfetopito committed Oct 16, 2023
1 parent 520fc29 commit 2ea49c9
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,12 @@ export function getPermitUtilsInstance(
const chainCache = CHAIN_UTILS_CACHE.get(chainId)

if (!account && chainCache) {
console.log(`[getPermitUtilsInstance] Using cached chain utils for chain ${chainId}`, chainCache)
return chainCache
}
const providerCacheKey = `${chainId}-${account}`
const providerCache = PROVIDER_UTILS_CACHE.get(providerCacheKey)

if (providerCache) {
console.log(`[getPermitUtilsInstance] Using cached provider utils for chain ${chainId}-${account}`, providerCache)
return providerCache
}

Expand Down

0 comments on commit 2ea49c9

Please sign in to comment.