Skip to content

Commit

Permalink
Merge pull request #27 from alvasw/ExchangeRateProvider_fix_redundant…
Browse files Browse the repository at this point in the history
…_list_creation

ExchangeRateProvider: Don't create List and throw it away
  • Loading branch information
gabernard authored Sep 12, 2023
2 parents 9f5f087 + 4c3e235 commit 94b2674
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/java/bisq/price/spot/ExchangeRateProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@ public Collection<CurrencyPair> getCurrencyPairs() {
List<Ticker> finalTickersRetrievedFromExchange = tickersRetrievedFromExchange;
Stream.of(desiredFiatPairs, desiredCryptoPairs)
.flatMap(Collection::stream)
.collect(Collectors.toList())
.forEach(cp -> {
try {

Expand Down

0 comments on commit 94b2674

Please sign in to comment.