diff options
-rw-r--r-- | rpc/api.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/api.go b/rpc/api.go index 58a9faa5d..4b61fa3a5 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()) |