rpc: change eth_protocolVersion to eth_version. Closes #714
This commit is contained in:
		| @@ -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()) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user