[bisq-network/bisq] PriceNode: exclude currencies via config (#5582)

Kai notifications at github.com
Thu Jun 24 09:10:54 CEST 2021


@KaiWitt commented on this pull request.



>          super(refreshInterval);
         this.name = name;
         this.prefix = prefix;
+        this.env = env;
+    }
+
+    public Set<String> getSupportedFiatCurrencies() {
+        if (SUPPORTED_FIAT_CURRENCIES.size() == 0) {         // one-time initialization

`.isEmpty()` is more expressive, same in line 84 `.filter(ccy -> !ccy.isEmpty())` and the crypto currency method

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/5582#pullrequestreview-691403643
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20210624/c7b019c0/attachment.htm>


More information about the bisq-github mailing list