From 317b35ed1b64ae4a890c61fe6a02ed11109fe532 Mon Sep 17 00:00:00 2001 From: Viacheslav Gonkivskyi Date: Thu, 14 Sep 2023 13:58:31 +0300 Subject: [PATCH] make linter happy --- cmd/celestia/rpc.go | 2 +- cmd/celestia/state.go | 14 ++++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/cmd/celestia/rpc.go b/cmd/celestia/rpc.go index f0a1534b19..9e2e481d13 100644 --- a/cmd/celestia/rpc.go +++ b/cmd/celestia/rpc.go @@ -23,7 +23,7 @@ import ( "github.com/celestiaorg/celestia-node/state" ) -const authEnvKey = "CELESTIA_NODE_AUTH_TOKEN" //nolint:gosec +const authEnvKey = "CELESTIA_NODE_AUTH_TOKEN" var requestURL string var authTokenFlag string diff --git a/cmd/celestia/state.go b/cmd/celestia/state.go index b87c051fb1..1b02d0f6b2 100644 --- a/cmd/celestia/state.go +++ b/cmd/celestia/state.go @@ -77,9 +77,10 @@ var accountAddressCmd = &cobra.Command{ } var balanceCmd = &cobra.Command{ - Use: "balance", - Short: "Retrieves the Celestia coin balance for the node's account/signer and verifies it against the corresponding block's AppHash.", - Args: cobra.NoArgs, + Use: "balance", + Short: "Retrieves the Celestia coin balance for the node's account/signer and verifies it against " + + "the corresponding block's AppHash.", + Args: cobra.NoArgs, RunE: func(cmd *cobra.Command, args []string) error { client, err := rpcClient(cmd.Context()) if err != nil { @@ -92,9 +93,10 @@ var balanceCmd = &cobra.Command{ } var balanceForAddressCmd = &cobra.Command{ - Use: "balance-for-address [address]", - Short: "Retrieves the Celestia coin balance for the given address and verifies the returned balance against the corresponding block's AppHash.", - Args: cobra.ExactArgs(1), + Use: "balance-for-address [address]", + Short: "Retrieves the Celestia coin balance for the given address and verifies the returned balance against " + + "the corresponding block's AppHash.", + Args: cobra.ExactArgs(1), RunE: func(cmd *cobra.Command, args []string) error { client, err := rpcClient(cmd.Context()) if err != nil {