#612 rename eth_protocol method

release/1.0.1
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