From 1eac8b2f59ddd2f4362f52c2a0c012c0a749560f Mon Sep 17 00:00:00 2001 From: JIscariot Date: Thu, 19 Dec 2024 13:52:30 +0300 Subject: [PATCH] Fix --- yellowstone-grpc-client-nodejs/src/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/yellowstone-grpc-client-nodejs/src/index.ts b/yellowstone-grpc-client-nodejs/src/index.ts index 97513da3..85ceb22c 100644 --- a/yellowstone-grpc-client-nodejs/src/index.ts +++ b/yellowstone-grpc-client-nodejs/src/index.ts @@ -106,8 +106,10 @@ export default class Client { switch (endpointURL.protocol) { case "https:": port = "443"; - case "http:": + break; + case "http:": port = "80"; + break; } }