Commit 69788cb9 authored by Jeffrey Wilcke's avatar Jeffrey Wilcke

Merge pull request #784 from tgerring/issue737

Rename eth_Version to eth_protocolVersion. Closes #737
parents c7458311 41e3d01e
......@@ -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())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment