Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sukantoraymond committed Jan 17, 2025
1 parent a4b0408 commit 7b4f67a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions cmd/nodecmd/local.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ package nodecmd

import (
"fmt"
"github.com/ava-labs/avalanchego/vms/platformvm"
"github.com/ava-labs/avalanchego/vms/platformvm/api"
"math/big"
"path/filepath"
"strings"
"time"

"github.com/ava-labs/avalanchego/vms/platformvm"
"github.com/ava-labs/avalanchego/vms/platformvm/api"

"github.com/ava-labs/avalanchego/api/info"

"github.com/ava-labs/avalanche-cli/pkg/blockchain"
Expand Down Expand Up @@ -456,10 +457,14 @@ func localValidate(_ *cobra.Command, args []string) error {
binutils.WithAvoidRPCVersionCheck(true),
binutils.WithDialTimeout(constants.FastGRPCDialTimeout),
)
if err != nil {
return err
}
status, err := cli.Status(ctx)
if err != nil {
return err
}

for _, node := range status.ClusterInfo.NodeInfos {
if err = addAsValidator(network,
node.Name,
Expand Down

0 comments on commit 7b4f67a

Please sign in to comment.