We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d94296 commit 749e8d0Copy full SHA for 749e8d0
packages/eth-providers/src/base-provider.ts
@@ -955,7 +955,7 @@ export abstract class BaseProvider extends AbstractProvider {
955
extrinsic: SubmittableExtrinsic<'promise', ISubmittableResult>,
956
at?: string,
957
) => {
958
- const blockHash = at ?? await this._getBlockHash('latest');
+ const blockHash = at ?? this.bestBlockHash;
959
const apiAt = await apiCache.getApiAt(this.api, blockHash);
960
961
const u8a = extrinsic.toU8a();
0 commit comments