ethstats: Geth+EVMC

This commit is contained in:
Paweł Bylica 2018-06-21 15:39:09 +02:00
parent 68eea63083
commit a3a31bf3bc
No known key found for this signature in database
GPG key ID: 7A0C037434FE77EF

View file

@ -380,8 +380,7 @@ func (s *Service) login(conn *websocket.Conn) error {
network = fmt.Sprintf("%d", infos.Protocols["les"].(*les.NodeInfo).Network)
protocol = fmt.Sprintf("les/%d", les.ClientProtocolVersions[0])
}
node := strings.Replace(infos.Name, "Geth", "Geth+EVMJIT", 1)
log.Warn("Node name: " + node)
node := strings.Replace(infos.Name, "Geth", "Geth+EVMC", 1)
auth := &authMsg{
ID: s.node,
Info: nodeInfo{