Minor fixes

1) Fixes go fmt issue
2) Removes TO-DO item for supported asset pairs for GetExchangeInfo API
3) Fixes useless select used for testing
This commit is contained in:
Adrian Gallagher
2019-09-03 10:32:17 +10:00
parent 939953211d
commit 2307834fb6
6 changed files with 497 additions and 471 deletions

View File

@@ -78,6 +78,11 @@ message DisableExchangeRequest {
string exchange = 1;
}
message PairsSupported {
string available_pairs = 1;
string enabled_pairs = 2;
}
message GetExchangeInfoResponse {
string name = 1;
bool enabled = 2;
@@ -87,10 +92,8 @@ message GetExchangeInfoResponse {
string http_useragent = 6;
string http_proxy = 7;
string base_currencies = 8;
string supported_assets = 9;
string enabled_pairs = 10;
string available_pairs = 11;
bool authenticated_api = 12;
map<string, PairsSupported> supported_assets = 9;
bool authenticated_api = 10;
}
message GetTickerRequest {