Skip to content

Commit

Permalink
Merge pull request #784 from tgerring/issue737
Browse files Browse the repository at this point in the history
Rename eth_Version to eth_protocolVersion. Closes #737
  • Loading branch information
obscuren committed Apr 23, 2015
2 parents c745831 + 41e3d01 commit 69788cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 69788cb

Please sign in to comment.