Skip to content

Commit 756e1fb

Browse files
authored
Fix for Binance currencies (#786)
1 parent c09ca6b commit 756e1fb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/ExchangeSharp/API/Exchanges/BinanceGroup/BinanceGroupCommon.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ public async Task<IEnumerable<ExchangeOrderResult>> GetMyTradesAsync(string? mar
101101

102102
protected override async Task<IReadOnlyDictionary<string, ExchangeCurrency>> OnGetCurrenciesAsync()
103103
{
104-
var result = await MakeJsonRequestAsync<List<Currency>>("/capital/config/getall", BaseUrlSApi);
104+
Dictionary<string, object> payload = await GetNoncePayloadAsync();
105+
var result = await MakeJsonRequestAsync<List<Currency>>("/capital/config/getall", BaseUrlSApi, payload);
105106

106107
return result.ToDictionary(x => x.AssetCode, x => new ExchangeCurrency
107108
{

0 commit comments

Comments
 (0)