Skip to content

Commit

Permalink
Update services/content-publishing/libs/common/src/blockchain/blockch…
Browse files Browse the repository at this point in the history
…ain.service.ts

Co-authored-by: Matthew Orris <[email protected]>
  • Loading branch information
JoeCap08055 and mattheworris authored Aug 9, 2024
1 parent fa91f25 commit c86d090
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ export class BlockchainService implements OnApplicationBootstrap, OnApplicationS
this.logger.error(`Unrecognized chain URL type: ${providerUrl.toString()}`);
throw new Error('Unrecognized chain URL type');
}
// this.api = await firstValueFrom(ApiRx.create({ provider, ...options }));
this.api = await ApiPromise.create({ provider, ...options });
this.readyResolve(await this.api.isReady);
this.logger.log('Blockchain API ready.');
Expand Down

0 comments on commit c86d090

Please sign in to comment.