Skip to content

Commit b49d23c

Browse files
committed
Fix accidental use of ensure meta
1 parent a0b39b3 commit b49d23c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/services/blocks/BlocksService.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ export class BlocksService extends AbstractService {
4444
eventDocs: boolean,
4545
extrinsicDocs: boolean
4646
): Promise<IBlock> {
47-
const api = await this.ensureMeta(hash);
48-
// const { api } = this;
47+
const { api } = this;
4948

5049
const [{ block }, events, validators] = await Promise.all([
5150
api.rpc.chain.getBlock(hash),

0 commit comments

Comments
 (0)