#612 rename eth_protocol method

pull/609/head
Taylor Gerring 10 years ago
parent 86ba7432a9
commit 02fb83782e
  1. 2
      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

Loading…
Cancel
Save