aboutsummaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-04-01 18:28:48 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-04-01 18:28:48 +0800
commit02fb83782eab5d6ad394aca58daab77a9525d5ff (patch)
tree3b93e2572b5cf810f0fb8f450b17f934430d4b4c /rpc
parent86ba7432a965d9469ce1b4ccc2397ed2e08c9a3c (diff)
downloadgo-tangerine-02fb83782eab5d6ad394aca58daab77a9525d5ff.tar.gz
go-tangerine-02fb83782eab5d6ad394aca58daab77a9525d5ff.tar.zst
go-tangerine-02fb83782eab5d6ad394aca58daab77a9525d5ff.zip
#612 rename eth_protocol method
Diffstat (limited to 'rpc')
-rw-r--r--rpc/api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/api.go b/rpc/api.go
index 7f10f16e3..c046c22fe 100644
--- a/rpc/api.go
+++ b/rpc/api.go
@@ -54,7 +54,7 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err
case "net_peerCount":
v := api.xeth().PeerCount()
*reply = common.ToHex(big.NewInt(int64(v)).Bytes())
- case "eth_version":
+ case "eth_protocolVersion":
*reply = api.xeth().EthVersion()
case "eth_coinbase":
// TODO handling of empty coinbase due to lack of accounts