diff --git a/router/peers.go b/router/peers.go index e51b2bc0..c2767ed0 100644 --- a/router/peers.go +++ b/router/peers.go @@ -25,13 +25,6 @@ type NameCollisionError struct { type PeerNameSet map[PeerName]struct{} -type ConnectionSummary struct { - NameByte []byte - RemoteTCPAddr string - Outbound bool - Established bool -} - type PeerSummary struct { NameByte []byte NickName string @@ -39,6 +32,13 @@ type PeerSummary struct { Version uint64 } +type ConnectionSummary struct { + NameByte []byte + RemoteTCPAddr string + Outbound bool + Established bool +} + func NewPeers(ourself *Peer, onGC func(*Peer)) *Peers { return &Peers{ ourself: ourself,