Skip to content

Commit

Permalink
fixup: add peer connections
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanchriswhite committed Jul 13, 2023
1 parent 138aec9 commit 59449b0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions app/client/cli/peer/connections.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ package peer

import (
"fmt"
"github.com/pokt-network/pocket/p2p/debug"
"github.com/pokt-network/pocket/shared/messaging"

"github.com/spf13/cobra"
"google.golang.org/protobuf/types/known/anypb"

"github.com/pokt-network/pocket/app/client/cli/helpers"
"github.com/pokt-network/pocket/p2p/debug"
"github.com/pokt-network/pocket/shared/messaging"
)

var (
Expand Down Expand Up @@ -41,7 +42,7 @@ func connectionsRunE(cmd *cobra.Command, _ []string) error {
return ErrRouterType
}
routerType = debug.UnstakedRouterType
// even if `allFlag` is false, we still want to print all peers
// even if `allFlag` is false, we still want to print all connections
default:
if stakedFlag || unstakedFlag {
return ErrRouterType
Expand Down

0 comments on commit 59449b0

Please sign in to comment.