Skip to content

Commit 749e8d0

Browse files
committed
fix
1 parent 8d94296 commit 749e8d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,7 @@ export abstract class BaseProvider extends AbstractProvider {
955955
extrinsic: SubmittableExtrinsic<'promise', ISubmittableResult>,
956956
at?: string,
957957
) => {
958-
const blockHash = at ?? await this._getBlockHash('latest');
958+
const blockHash = at ?? this.bestBlockHash;
959959
const apiAt = await apiCache.getApiAt(this.api, blockHash);
960960

961961
const u8a = extrinsic.toU8a();

0 commit comments

Comments
 (0)