Closed aalda closed 5 years ago
Also NewHTTPClientFromConfig seems overkill since it's only used twice
tests/riot.go 279: client, err := client.NewHTTPClientFromConfig(cConf) cmd/client.go 69: client, err := client.NewHTTPClientFromConfig(clientCtx.config)
The client is also intended to be used outside QED project. I prefer to make the client's construction more flexible.
Also NewHTTPClientFromConfig seems overkill since it's only used twice