mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 07:07:43 +01:00
Add util for printing all altcoins for adding to FAQ page
This commit is contained in:
parent
6281ecc7e2
commit
246b15bee9
1 changed files with 12 additions and 1 deletions
|
@ -200,8 +200,19 @@ public class CurrencyUtil {
|
||||||
result.add(new CryptoCurrency("YBC", "YbCoin"));
|
result.add(new CryptoCurrency("YBC", "YbCoin"));
|
||||||
result.add(new CryptoCurrency("ZEC", "Zcash"));
|
result.add(new CryptoCurrency("ZEC", "Zcash"));
|
||||||
result.add(new CryptoCurrency("XZC", "Zcoin"));
|
result.add(new CryptoCurrency("XZC", "Zcoin"));
|
||||||
|
|
||||||
result.sort(TradeCurrency::compareTo);
|
result.sort(TradeCurrency::compareTo);
|
||||||
|
|
||||||
|
// Util for printing all altcoins for adding to FAQ page
|
||||||
|
StringBuilder sb = new StringBuilder();
|
||||||
|
result.stream().forEach(e -> sb.append("<li>\"")
|
||||||
|
.append(e.getCode())
|
||||||
|
.append("\", \"")
|
||||||
|
.append(e.getName())
|
||||||
|
.append("\"</li>")
|
||||||
|
.append("\n"));
|
||||||
|
//log.info(sb.toString());
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue