mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-05-11 18:29:57 +00:00
Provide useragent in getpeerinfo now we know it.
This commit is contained in:
parent
4f25d45e77
commit
231efa35f5
@ -270,7 +270,7 @@ func (s *server) handleQuery(querymsg interface{}, peers *list.List, bannedPeers
|
||||
BytesRecv: 0, // TODO(oga) we need this from wire.
|
||||
ConnTime: peer.timeConnected,
|
||||
Version: peer.protocolVersion,
|
||||
SubVer: "unknown",
|
||||
SubVer: peer.userAgent,
|
||||
Inbound: peer.inbound,
|
||||
StartingHeight: peer.lastBlock,
|
||||
BanScore: 0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user