Skip to content

Commit d5b41ce

Browse files
committed
Removed redundant call to normalizing blockTag (1838).
1 parent fb6d141 commit d5b41ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1338,7 +1338,7 @@ export class BaseProvider extends Provider implements EnsProvider {
13381338
params.blockHash = blockHashOrBlockTag;
13391339
} else {
13401340
try {
1341-
params.blockTag = this.formatter.blockTag(await this._getBlockTag(blockHashOrBlockTag));
1341+
params.blockTag = await this._getBlockTag(blockHashOrBlockTag);
13421342
if (isHexString(params.blockTag)) {
13431343
blockNumber = parseInt(params.blockTag.substring(2), 16);
13441344
}

0 commit comments

Comments
 (0)