From 8db11d782215fccd8a9236920159e8404cc7f7bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Thu, 14 Dec 2017 13:17:55 +0100 Subject: [PATCH] ethstats: Add +EVMJIT --- ethstats/ethstats.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ethstats/ethstats.go b/ethstats/ethstats.go index 77784ff4ac..f8e7cddd88 100644 --- a/ethstats/ethstats.go +++ b/ethstats/ethstats.go @@ -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,