mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-20 02:12:00 +01:00
Use precision 8 for crypto currencies
This commit is contained in:
parent
a66bd8f866
commit
50d04452b0
@ -61,9 +61,9 @@ public class TradeStatisticsManager {
|
||||
|
||||
this.cryptoCurrencyListJsonStorage.initWithFileName("crypto_currency_list.json");
|
||||
ArrayList<CurrencyTuple> cryptoCurrencyList = new ArrayList<>(CurrencyUtil.getAllSortedCryptoCurrencies().stream()
|
||||
.map(e -> new CurrencyTuple(e.getCode(), e.getName()))
|
||||
.map(e -> new CurrencyTuple(e.getCode(), e.getName(), 8))
|
||||
.collect(Collectors.toList()));
|
||||
cryptoCurrencyList.add(0, new CurrencyTuple("BTC", "Bitcoin"));
|
||||
cryptoCurrencyList.add(0, new CurrencyTuple("BTC", "Bitcoin", 8));
|
||||
cryptoCurrencyListJsonStorage.queueUpForSave(new PlainTextWrapper(Utilities.objectToJson(cryptoCurrencyList)), 2000);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user