From 14dd92e850bb9b67858112580137f5f6344cdb4b Mon Sep 17 00:00:00 2001 From: willclarktech Date: Tue, 8 Jun 2021 16:16:18 +0200 Subject: [PATCH] tendermint-rpc: Fix doc comments in 34 client --- .../tendermint-rpc/src/tendermint34/tendermint34client.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/tendermint-rpc/src/tendermint34/tendermint34client.ts b/packages/tendermint-rpc/src/tendermint34/tendermint34client.ts index f528c2dd..bdf3f489 100644 --- a/packages/tendermint-rpc/src/tendermint34/tendermint34client.ts +++ b/packages/tendermint-rpc/src/tendermint34/tendermint34client.ts @@ -19,8 +19,6 @@ export class Tendermint34Client { * Creates a new Tendermint client for the given endpoint. * * Uses HTTP when the URL schema is http or https. Uses WebSockets otherwise. - * - * If the adaptor is not set an auto-detection is attempted. */ public static async connect(url: string): Promise { const useHttp = url.startsWith("http://") || url.startsWith("https://"); @@ -30,8 +28,6 @@ export class Tendermint34Client { /** * Creates a new Tendermint client given an RPC client. - * - * If the adaptor is not set an auto-detection is attempted. */ public static async create(rpcClient: RpcClient): Promise { // For some very strange reason I don't understand, tests start to fail on some systems @@ -63,7 +59,7 @@ export class Tendermint34Client { private readonly r: Responses; /** - * Use `Client.connect` or `Client.create` to create an instance. + * Use `Tendermint34Client.connect` or `Tendermint34Client.create` to create an instance. */ private constructor(client: RpcClient) { this.client = client;