Add comment

This commit is contained in:
Manfred Karrer 2018-11-07 17:35:21 -05:00
parent f59bbefe21
commit 36df44db33
No known key found for this signature in database
GPG Key ID: 401250966A6B2C46
2 changed files with 3 additions and 0 deletions

View File

@ -487,6 +487,7 @@ public class CurrencyUtil {
.findAny();
}
// Excludes all assets which got removed by DAO voting
public static List<CryptoCurrency> getWhiteListedSortedCryptoCurrencies(AssetService assetService) {
return getAllSortedCryptoCurrencies().stream()
.filter(e -> !assetService.isAssetRemoved(e.getCode()))

View File

@ -88,6 +88,7 @@ public class AssetTradeActivityCheck {
tradeAmount = tuple.first;
numTrades = tuple.second;
}
if (isWarmingUp(code)) {
assetsToRemove.remove(e);
newAssets.append("\n")
@ -97,6 +98,7 @@ public class AssetTradeActivityCheck {
.append(", number of trades: ")
.append(numTrades);
}
if (!isWarmingUp(code) && !hasPaidBSQFee(code)) {
if (isInTradeStatMap) {
if (tradeAmount >= minTradeAmount || numTrades >= minNumOfTrades) {