Removed redundant call to normalizing blockTag (1838).

This commit is contained in:
Richard Moore 2021-10-04 11:48:36 -04:00
parent fb6d141723
commit d5b41ce210
No known key found for this signature in database
GPG Key ID: 665176BE8E9DC651

@ -1338,7 +1338,7 @@ export class BaseProvider extends Provider implements EnsProvider {
params.blockHash = blockHashOrBlockTag;
} else {
try {
params.blockTag = this.formatter.blockTag(await this._getBlockTag(blockHashOrBlockTag));
params.blockTag = await this._getBlockTag(blockHashOrBlockTag);
if (isHexString(params.blockTag)) {
blockNumber = parseInt(params.blockTag.substring(2), 16);
}