Skip to content

Commit

Permalink
Deleted ValidTimeConverter
Browse files Browse the repository at this point in the history
  • Loading branch information
Owdares committed Dec 3, 2023
1 parent d84144f commit a5163b9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1264,7 +1264,7 @@ public async Task<WebCallResult<BinanceConvertQuote>> ConvertQuoteRequestAsync(s
parameters.AddOptionalParameter("fromAmount", quoteQuantity?.ToString(CultureInfo.InvariantCulture));
parameters.AddOptionalParameter("toAmount", baseQuantity?.ToString(CultureInfo.InvariantCulture));
parameters.AddOptionalParameter("walletType", walletType != null ? JsonConvert.SerializeObject(walletType, new WalletTypeConverter(false)) : null);
parameters.AddOptionalParameter("validTime", validTime != null ? JsonConvert.SerializeObject(validTime, new ValidTimeConverter(false)) : null);
parameters.AddOptionalParameter("validTime", EnumConverter.GetString(validTime));
parameters.AddOptionalParameter("recvWindow", receiveWindow?.ToString(CultureInfo.InvariantCulture) ?? _baseClient.ClientOptions.ReceiveWindow.TotalMilliseconds.ToString(CultureInfo.InvariantCulture));

return await _baseClient.SendRequestInternal<BinanceConvertQuote>(_baseClient.GetUrl(convertQuoteRequestEndpoint, convertApi, convertVersion), HttpMethod.Post, ct, parameters, true, weight: 200).ConfigureAwait(false);
Expand Down
20 changes: 0 additions & 20 deletions Binance.Net/Converters/ValidTimeConverter.cs

This file was deleted.

0 comments on commit a5163b9

Please sign in to comment.