Bisq market: Fix for missing prices from /trades

This commit is contained in:
softsimon 2020-09-15 12:37:54 +07:00
parent c1c0521ab4
commit 77cbb302ce
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7

View File

@ -172,7 +172,8 @@ class BisqMarketsApi {
timestamp_to = new Date().getTime() / 1000;
}
const matches = this.getTradesByCriteria(_market, timestamp_to, timestamp_from, trade_id_to, trade_id_from, direction, sort, limit);
const matches = this.getTradesByCriteria(_market, timestamp_to, timestamp_from,
trade_id_to, trade_id_from, direction, sort, limit, false);
if (sort === 'asc') {
matches.sort((a, b) => a.tradeDate - b.tradeDate);