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;