Skip to content

Commit

Permalink
fix await (#1056)
Browse files Browse the repository at this point in the history
  • Loading branch information
shunjizhan authored Nov 14, 2024
1 parent bb331d6 commit a600cfd
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 @@ -604,7 +604,7 @@ export abstract class BaseProvider extends AbstractProvider {
getBlockData = async (_blockTag: BlockTag | Promise<BlockTag>, full?: boolean): Promise<BlockData> => {
const blockTag = await this._ensureSafeModeBlockTagFinalization(_blockTag);
const header = await this._getBlockHeader(blockTag);
return this.getBlockDataForHeader(header, full);
return await this.getBlockDataForHeader(header, full);
};

getBlockDataForHeader = async (header: Header, full?: boolean): Promise<BlockData> => {
Expand Down

0 comments on commit a600cfd

Please sign in to comment.