From dfa1fcec8fd415e56b261a8c4a45ee541ceea4a5 Mon Sep 17 00:00:00 2001 From: Viacheslav Gonkivskyi Date: Fri, 22 Sep 2023 12:50:43 +0300 Subject: [PATCH] remove comment --- api/rpc/client/client.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api/rpc/client/client.go b/api/rpc/client/client.go index bd6746b93c..7ac8a55b3d 100644 --- a/api/rpc/client/client.go +++ b/api/rpc/client/client.go @@ -65,8 +65,7 @@ func NewPublicClient(ctx context.Context, addr string) (*Client, error) { } // NewClient creates a new Client with one connection per namespace with the -// given token as the authorization token. In case if token will be empty, then -// `CELESTIA_NODE_AUTH_TOKEN` will be used in order to get the token. +// given token as the authorization token. func NewClient(ctx context.Context, addr string, token string) (*Client, error) { authHeader := http.Header{perms.AuthKey: []string{fmt.Sprintf("Bearer %s", token)}} return newClient(ctx, addr, authHeader)