[client] Correct minor issues in --filter-by-connection-type flag implementation for status command (#4214)

Signed-off-by: aliamerj <aliamer19ali@gmail.com>
This commit is contained in:
Ali Amer
2025-07-24 18:51:27 +03:00
committed by GitHub
parent 04fae00a6c
commit 643730f770
2 changed files with 9 additions and 12 deletions

View File

@@ -1330,13 +1330,6 @@ func (x *PeerState) GetRelayAddress() string {
return ""
}
func (x *PeerState) GetConnectionType() string {
if x.Relayed {
return "Relayed"
}
return "P2P"
}
// LocalPeerState contains the latest state of the local peer
type LocalPeerState struct {
state protoimpl.MessageState `protogen:"open.v1"`