ethstats: Add +EVMJIT

This commit is contained in:
Paweł Bylica 2017-12-14 13:17:55 +01:00
parent 4e82d06dbd
commit 8db11d7822
No known key found for this signature in database
GPG key ID: 7A0C037434FE77EF

View file

@ -381,11 +381,13 @@ func (s *Service) login(conn *websocket.Conn) error {
network = fmt.Sprintf("%d", infos.Protocols["les"].(*eth.EthNodeInfo).Network)
protocol = fmt.Sprintf("les/%d", les.ClientProtocolVersions[0])
}
node := strings.Replace(infos.Name, "Geth", "Geth+EVMJIT", 1)
log.Warn("Node name: " + node)
auth := &authMsg{
Id: s.node,
Info: nodeInfo{
Name: s.node,
Node: infos.Name,
Node: node,
Port: infos.Ports.Listener,
Network: network,
Protocol: protocol,