Provide useragent in getpeerinfo now we know it.
This commit is contained in:
parent
4f25d45e77
commit
231efa35f5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue