#612 rename eth_protocol method

This commit is contained in:
Taylor Gerring 2015-04-01 12:28:48 +02:00
parent 86ba7432a9
commit 02fb83782e
1 changed files with 1 additions and 1 deletions

View File

@ -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