From 8db7b2374cb9dc10c5cac2dd26f9e7413343d78a Mon Sep 17 00:00:00 2001 From: obscuren Date: Tue, 14 Apr 2015 20:47:21 +0200 Subject: [PATCH] rpc: change eth_protocolVersion to eth_version. Closes #714 --- rpc/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc/api.go b/rpc/api.go index 58a9faa5d3..4b61fa3a58 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_protocolVersion": + case "eth_version": *reply = api.xeth().EthVersion() case "eth_coinbase": *reply = newHexData(api.xeth().Coinbase())