Skip to content

Commit

Permalink
fix: typo in error message (#1014)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrice32 authored Oct 17, 2023
1 parent b1e5454 commit ff19914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/ProviderUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit ff19914

Please sign in to comment.