Skip to content

Commit

Permalink
Fix - List All Convert Pairs (#1331)
Browse files Browse the repository at this point in the history
  • Loading branch information
Owdares authored Dec 26, 2023
1 parent 127156e commit 6ed4a15
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -726,9 +726,6 @@ public async Task<WebCallResult<IEnumerable<BinanceMarginDelistSchedule>>> GetMa
/// <inheritdoc />
public async Task<WebCallResult<IEnumerable<BinanceConvertAssetPair>>> 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<string, object>();
parameters.AddOptionalParameter("fromAsset", quoteAsset);
parameters.AddOptionalParameter("toAsset", baseAsset);
Expand Down

0 comments on commit 6ed4a15

Please sign in to comment.