Skip to content

Commit

Permalink
applied variable type (#19)
Browse files Browse the repository at this point in the history
It's a small fix, but I didn't want to let that comment stay there now
that polkadot-api/polkadot-api#324 was fixed.
  • Loading branch information
Bullrich authored Mar 19, 2024
1 parent 04beb0c commit ef6ab7d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/fellows.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createClient } from "@polkadot-api/client";
import { createClient, PolkadotClient } from "@polkadot-api/client";
import { getChain } from "@polkadot-api/node-polkadot-provider";
import { getSmProvider } from "@polkadot-api/sm-provider";
import {
Expand All @@ -25,8 +25,7 @@ export const fetchAllFellows = async (
logger.info("Initializing smoldot");
const smoldot = start();

// TODO: Replace once https://github.com/paritytech/opstooling/discussions/373 is fixed
let polkadotClient: ReturnType<typeof createClient> | null = null;
let polkadotClient: PolkadotClient | null = null;

try {
const relayChain = await smoldot.addChain({
Expand Down

0 comments on commit ef6ab7d

Please sign in to comment.