From d5b41ce210c0f22dd795749810f6ce798f71a00f Mon Sep 17 00:00:00 2001 From: Richard Moore Date: Mon, 4 Oct 2021 11:48:36 -0400 Subject: [PATCH] Removed redundant call to normalizing blockTag (1838). --- packages/providers/src.ts/base-provider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/providers/src.ts/base-provider.ts b/packages/providers/src.ts/base-provider.ts index f73fed595..98973b695 100644 --- a/packages/providers/src.ts/base-provider.ts +++ b/packages/providers/src.ts/base-provider.ts @@ -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); }