Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shunjizhan committed Nov 21, 2024
1 parent 29ebd9d commit d865110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eth-providers/src/base-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1792,7 +1792,7 @@ export abstract class BaseProvider extends AbstractProvider {
const isAllTargetLogsInCache = earliestCachedBlockNumber <= filter.fromBlock;

return isAllTargetLogsInCache
? this._getLogsFromCache(filter.fromBlock, filter.toBlock, filter)
? await this._getLogsFromCache(filter.fromBlock, filter.toBlock, filter)
: _throwErr(earliestCachedBlockNumber);
}

Expand Down

0 comments on commit d865110

Please sign in to comment.