mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 13:07:17 +00:00
Merge pull request #784 from tgerring/issue737
Rename eth_Version to eth_protocolVersion. Closes #737
This commit is contained in:
commit
69788cb973
@ -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_version":
|
case "eth_protocolVersion":
|
||||||
*reply = api.xeth().EthVersion()
|
*reply = api.xeth().EthVersion()
|
||||||
case "eth_coinbase":
|
case "eth_coinbase":
|
||||||
*reply = newHexData(api.xeth().Coinbase())
|
*reply = newHexData(api.xeth().Coinbase())
|
||||||
|
Loading…
Reference in New Issue
Block a user