From 41e3d01e6312d3fb5dacef34cf8a21470f4b4f82 Mon Sep 17 00:00:00 2001 From: Taylor Gerring Date: Wed, 22 Apr 2015 13:42:09 -0500 Subject: [PATCH] Rename eth_Version to eth_protocolVersion. Closes #737 --- rpc/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc/api.go b/rpc/api.go index 66283752be..6b9c398ec2 100644 --- a/rpc/api.go +++ b/rpc/api.go @@ -56,7 +56,7 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err *reply = api.xeth().IsListening() case "net_peerCount": *reply = newHexNum(api.xeth().PeerCount()) - case "eth_version": + case "eth_protocolVersion": *reply = api.xeth().EthVersion() case "eth_coinbase": *reply = newHexData(api.xeth().Coinbase())