Skip to content

Commit 56bbc57

Browse files
committed
fix
1 parent 5102af2 commit 56bbc57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/eth-providers/src/base-provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ export abstract class BaseProvider extends AbstractProvider {
577577
const cached = this.apiCache.get(blockHash);
578578
if (cached) return cached;
579579

580-
const apiAt = await this.getApiAt(blockHash);
580+
const apiAt = await this.api.at(blockHash);
581581
this.apiCache.set(blockHash, apiAt); // cache key is blockhash, so no need to check for finalization
582582

583583
return apiAt;

0 commit comments

Comments
 (0)