Permalink
Browse files

Downgrade XChange since we need to use Java 6

  • Loading branch information...
1 parent 5e6cbab commit 7862a93d44008512cd9cf4b850f93a2a0d6e5714 @langerhans committed Jan 30, 2016
Showing with 2 additions and 9 deletions.
  1. +1 −1 pom.xml
  2. +1 −8 src/main/java/org/multibit/exchange/TickerTimerTask.java
View
@@ -777,7 +777,7 @@
<bitcoinj.version>0.10.3-MB-ALICE</bitcoinj.version>
<!-- Version of XChange to use (multiple uses) -->
- <xchange.version>3.1.0</xchange.version>
+ <xchange.version>3.0.0</xchange.version>
<!-- Version of spongycastle to use -->
<sc-light-jdk15on.version>1.47.0.2</sc-light-jdk15on.version>
@@ -241,21 +241,14 @@ 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();
marketDataServiceDOGE = exchangeDOGE.getPollingMarketDataService();
log.debug("marketDataServiceBTC = " + marketDataServiceBTC);
// Get the list of available currencies.
- exchangeSymbols = new ArrayList<CurrencyPair>(exchange.getMetaData().getMarketMetaDataMap().keySet());
+ exchangeSymbols = exchange.getMetaData().getCurrencyPairs();
log.debug("exchangeSymbols = " + exchangeSymbols);
if (exchangeSymbols != null) {

0 comments on commit 7862a93

Please sign in to comment.