From 59449b0190ee0b1ecb9a549376a4fc47a1167a80 Mon Sep 17 00:00:00 2001 From: Bryan White Date: Thu, 13 Jul 2023 17:35:54 +0200 Subject: [PATCH] fixup: add peer connections --- app/client/cli/peer/connections.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/client/cli/peer/connections.go b/app/client/cli/peer/connections.go index b966207ff..ef99a3190 100644 --- a/app/client/cli/peer/connections.go +++ b/app/client/cli/peer/connections.go @@ -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 ( @@ -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