提交 8db7b237 编写于 作者: O obscuren

rpc: change eth_protocolVersion to eth_version. Closes #714

上级 13eb46ea
...@@ -56,7 +56,7 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err ...@@ -56,7 +56,7 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err
*reply = api.xeth().IsListening() *reply = api.xeth().IsListening()
case "net_peerCount": case "net_peerCount":
*reply = newHexNum(api.xeth().PeerCount()) *reply = newHexNum(api.xeth().PeerCount())
case "eth_protocolVersion": case "eth_version":
*reply = api.xeth().EthVersion() *reply = api.xeth().EthVersion()
case "eth_coinbase": case "eth_coinbase":
*reply = newHexData(api.xeth().Coinbase()) *reply = newHexData(api.xeth().Coinbase())
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册