Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Include short peer ID in report JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
awh committed Oct 13, 2015
1 parent eaf1f7c commit ed4ed5f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions router/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ type PeerStatus struct {
Name string
NickName string
UID PeerUID
ShortID PeerShortID
Version uint64
Connections []ConnectionStatus
}
Expand Down Expand Up @@ -122,6 +123,7 @@ func NewPeerStatusSlice(peers *Peers) []PeerStatus {
peer.Name.String(),
peer.NickName,
peer.UID,
peer.ShortID,
peer.Version,
connections})
})
Expand Down

0 comments on commit ed4ed5f

Please sign in to comment.