From ed4ed5fdcd8ce53e3be604a47491139cf5f1fe3e Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Thu, 8 Oct 2015 11:39:54 +0100 Subject: [PATCH] Include short peer ID in report JSON --- router/status.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/router/status.go b/router/status.go index 53d45cdc29..469f93294f 100644 --- a/router/status.go +++ b/router/status.go @@ -36,6 +36,7 @@ type PeerStatus struct { Name string NickName string UID PeerUID + ShortID PeerShortID Version uint64 Connections []ConnectionStatus } @@ -122,6 +123,7 @@ func NewPeerStatusSlice(peers *Peers) []PeerStatus { peer.Name.String(), peer.NickName, peer.UID, + peer.ShortID, peer.Version, connections}) })