From ff199140ef205bf949376073eb26fc68960accc4 Mon Sep 17 00:00:00 2001 From: Matt Rice Date: Tue, 17 Oct 2023 10:05:15 -0400 Subject: [PATCH] fix: typo in error message (#1014) --- src/utils/ProviderUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/ProviderUtils.ts b/src/utils/ProviderUtils.ts index 7b9551c55..5d48500aa 100644 --- a/src/utils/ProviderUtils.ts +++ b/src/utils/ProviderUtils.ts @@ -121,7 +121,7 @@ class CacheProvider extends RateLimitedProvider { const { chainId } = this.network; if (CHAIN_CACHE_FOLLOW_DISTANCE[chainId] === undefined) { - throw new Error(`CacheProvider:constructor no MAX_REORG_DISTANCE for chain ${chainId}`); + throw new Error(`CacheProvider:constructor no CHAIN_CACHE_FOLLOW_DISTANCE for chain ${chainId}`); } this.maxReorgDistance = CHAIN_CACHE_FOLLOW_DISTANCE[chainId];