Skip to content

Commit 8db7b23

Browse files
committed
rpc: change eth_protocolVersion to eth_version. Closes #714
1 parent 13eb46e commit 8db7b23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rpc/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err
5656
*reply = api.xeth().IsListening()
5757
case "net_peerCount":
5858
*reply = newHexNum(api.xeth().PeerCount())
59-
case "eth_protocolVersion":
59+
case "eth_version":
6060
*reply = api.xeth().EthVersion()
6161
case "eth_coinbase":
6262
*reply = newHexData(api.xeth().Coinbase())

0 commit comments

Comments
 (0)