Skip to content

Commit

Permalink
Fix accidental use of ensure meta
Browse files Browse the repository at this point in the history
  • Loading branch information
emostov committed Sep 17, 2020
1 parent a0b39b3 commit b49d23c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/services/blocks/BlocksService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ export class BlocksService extends AbstractService {
eventDocs: boolean,
extrinsicDocs: boolean
): Promise<IBlock> {
const api = await this.ensureMeta(hash);
// const { api } = this;
const { api } = this;

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

0 comments on commit b49d23c

Please sign in to comment.