From 7862a93d44008512cd9cf4b850f93a2a0d6e5714 Mon Sep 17 00:00:00 2001 From: langerhans Date: Sat, 30 Jan 2016 19:06:43 +0100 Subject: [PATCH] Downgrade XChange since we need to use Java 6 --- pom.xml | 2 +- src/main/java/org/multibit/exchange/TickerTimerTask.java | 9 +-------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/pom.xml b/pom.xml index 9903caf14..6d4602cfe 100644 --- a/pom.xml +++ b/pom.xml @@ -777,7 +777,7 @@ 0.10.3-MB-ALICE - 3.1.0 + 3.0.0 1.47.0.2 diff --git a/src/main/java/org/multibit/exchange/TickerTimerTask.java b/src/main/java/org/multibit/exchange/TickerTimerTask.java index 491b5e3d8..7653d9f2a 100644 --- a/src/main/java/org/multibit/exchange/TickerTimerTask.java +++ b/src/main/java/org/multibit/exchange/TickerTimerTask.java @@ -241,13 +241,6 @@ public void createExchangeObjects(String newExchangeName) { Exchange exchangeDOGE = ExchangeFactory.INSTANCE.createExchange(PoloniexExchange.class.getName()); if (exchange != null) { - try { - exchange.remoteInit(); - exchangeDOGE.remoteInit(); - } catch (IOException e) { - log.error("Could not contact exchanges for init!"); - return; - } // Interested in the public market data feed (no authentication). marketDataServiceBTC = exchange.getPollingMarketDataService(); @@ -255,7 +248,7 @@ public void createExchangeObjects(String newExchangeName) { log.debug("marketDataServiceBTC = " + marketDataServiceBTC); // Get the list of available currencies. - exchangeSymbols = new ArrayList(exchange.getMetaData().getMarketMetaDataMap().keySet()); + exchangeSymbols = exchange.getMetaData().getCurrencyPairs(); log.debug("exchangeSymbols = " + exchangeSymbols); if (exchangeSymbols != null) {