From 6ed4a151aafa0a8b7d9a9a5aaab7098e2a1073c1 Mon Sep 17 00:00:00 2001 From: Owdares <147960607+Owdares@users.noreply.github.com> Date: Tue, 26 Dec 2023 13:28:01 +0200 Subject: [PATCH] Fix - List All Convert Pairs (#1331) --- .../Clients/SpotApi/BinanceRestClientSpotApiExchangeData.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/Binance.Net/Clients/SpotApi/BinanceRestClientSpotApiExchangeData.cs b/Binance.Net/Clients/SpotApi/BinanceRestClientSpotApiExchangeData.cs index d2daa074e..5401a1f18 100644 --- a/Binance.Net/Clients/SpotApi/BinanceRestClientSpotApiExchangeData.cs +++ b/Binance.Net/Clients/SpotApi/BinanceRestClientSpotApiExchangeData.cs @@ -726,9 +726,6 @@ public async Task>> GetMa /// public async Task>> GetConvertListAllPairsAsync(string? quoteAsset = null, string? baseAsset = null, CancellationToken ct = default) { - if (quoteAsset == null && baseAsset == null) - throw new ArgumentException("Either one or both of the assets must be sent"); - var parameters = new Dictionary(); parameters.AddOptionalParameter("fromAsset", quoteAsset); parameters.AddOptionalParameter("toAsset", baseAsset);