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
|
@ -202,6 +202,17 @@ public class CurrencyUtil {
|
|||
result.add(new CryptoCurrency("XZC", "Zcoin"));
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue