mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-28 08:37:22 +00:00
Rename eth_Version to eth_protocolVersion. Closes #737
This commit is contained in:
parent
5f6c8832af
commit
41e3d01e63
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err
|
|||
*reply = api.xeth().IsListening()
|
||||
case "net_peerCount":
|
||||
*reply = newHexNum(api.xeth().PeerCount())
|
||||
case "eth_version":
|
||||
case "eth_protocolVersion":
|
||||
*reply = api.xeth().EthVersion()
|
||||
case "eth_coinbase":
|
||||
*reply = newHexData(api.xeth().Coinbase())
|
||||
|
|
|
|||
Loading…
Reference in a new issue