Skip to content

Commit

Permalink
better comment
Browse files Browse the repository at this point in the history
  • Loading branch information
clangenb committed Oct 25, 2024
1 parent c668eb6 commit 41ff9a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/worker-api/src/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ export class Worker implements IWorkerBase {
this.#registry = new TypeRegistry();
this.#keyring = (options.keyring || undefined);

// We want to pass the custom node's websocket implementation into the provider
// We want to pass arguments to NodeJS' websocket implementation into the provider
// in our integration tests, so that we can accept the workers self-signed
// certificate.
// certificate. Hence, we inject the factory function.
this.#ws = new WsProvider(url, 100, undefined, undefined, undefined, options.createWebSocket);

if (options.types != undefined) {
Expand Down

0 comments on commit 41ff9a8

Please sign in to comment.