Include short peer ID in report JSON
This commit is contained in:
1 parent
eaf1f7cc13
commit
ed4ed5fdcd
1 file changed
+2
@@ -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})
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user