Include short peer ID in report JSON

This commit is contained in:
Adam Harrison committed 2015-10-13 17:04:56 +01:00
1 parent eaf1f7cc13
commit ed4ed5fdcd
1 file changed
+2
+2
View File
@@ -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})
})