Undo last two commits

This commit is contained in:
Ethan Frey
2017-04-11 12:57:06 +02:00
parent d3069b0f5b
commit d1fc37ff9e
7 changed files with 99 additions and 108 deletions

View File

@ -72,15 +72,15 @@ func GetConfig() cfg.Config {
}
// GetURIClient gets a uri client pointing to the test tendermint rpc
func GetURIClient() *client.URIClient {
func GetURIClient() *client.ClientURI {
rpcAddr := GetConfig().GetString("rpc_laddr")
return client.NewURIClient(rpcAddr)
return client.NewClientURI(rpcAddr)
}
// GetJSONClient gets a http/json client pointing to the test tendermint rpc
func GetJSONClient() *client.JSONRPCClient {
func GetJSONClient() *client.ClientJSONRPC {
rpcAddr := GetConfig().GetString("rpc_laddr")
return client.NewJSONRPCClient(rpcAddr)
return client.NewClientJSONRPC(rpcAddr)
}
func GetGRPCClient() core_grpc.BroadcastAPIClient {