diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-04-01 18:28:48 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-04-01 18:28:48 +0800 |
commit | 02fb83782eab5d6ad394aca58daab77a9525d5ff (patch) | |
tree | 3b93e2572b5cf810f0fb8f450b17f934430d4b4c | |
parent | 86ba7432a965d9469ce1b4ccc2397ed2e08c9a3c (diff) | |
download | dexon-02fb83782eab5d6ad394aca58daab77a9525d5ff.tar.gz dexon-02fb83782eab5d6ad394aca58daab77a9525d5ff.tar.zst dexon-02fb83782eab5d6ad394aca58daab77a9525d5ff.zip |
#612 rename eth_protocol method
-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 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 |