diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-04-23 02:42:09 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-04-23 02:42:09 +0800 |
commit | 41e3d01e6312d3fb5dacef34cf8a21470f4b4f82 (patch) | |
tree | cb8189f1a5a93b26febc47ced8c6071540ce9322 | |
parent | 5f6c8832af98d9b8529b2ab771942f1536b0b081 (diff) | |
download | go-tangerine-41e3d01e6312d3fb5dacef34cf8a21470f4b4f82.tar go-tangerine-41e3d01e6312d3fb5dacef34cf8a21470f4b4f82.tar.gz go-tangerine-41e3d01e6312d3fb5dacef34cf8a21470f4b4f82.tar.bz2 go-tangerine-41e3d01e6312d3fb5dacef34cf8a21470f4b4f82.tar.lz go-tangerine-41e3d01e6312d3fb5dacef34cf8a21470f4b4f82.tar.xz go-tangerine-41e3d01e6312d3fb5dacef34cf8a21470f4b4f82.tar.zst go-tangerine-41e3d01e6312d3fb5dacef34cf8a21470f4b4f82.zip |
Rename eth_Version to eth_protocolVersion. Closes #737
-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 66283752b..6b9c398ec 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()) |