forked from Qortal/qortal
Only return OFFERING trades in GET /crosschain/tradeoffers
This commit is contained in:
parent
13f3aca838
commit
dc52fd1dcf
@ -108,7 +108,9 @@ public class CrossChainResource {
|
||||
|
||||
for (ATData atData : atsData) {
|
||||
CrossChainTradeData crossChainTradeData = acct.populateTradeData(repository, atData);
|
||||
crossChainTradesData.add(crossChainTradeData);
|
||||
if (crossChainTradeData.mode == AcctMode.OFFERING) {
|
||||
crossChainTradesData.add(crossChainTradeData);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user