Skip to content

Commit

Permalink
change Coinmate URL back to production
Browse files Browse the repository at this point in the history
  • Loading branch information
stachon committed Aug 11, 2016
1 parent d938af7 commit 1fa9cfd
Showing 1 changed file with 0 additions and 13 deletions.
Expand Up @@ -23,15 +23,12 @@
*/
package org.knowm.xchange.coinmate;

import java.util.logging.Level;
import java.util.logging.Logger;
import org.knowm.xchange.BaseExchange;
import org.knowm.xchange.Exchange;
import org.knowm.xchange.ExchangeSpecification;
import org.knowm.xchange.coinmate.service.polling.CoinmateAccountService;
import org.knowm.xchange.coinmate.service.polling.CoinmateMarketDataService;
import org.knowm.xchange.coinmate.service.polling.CoinmateTradeService;
import org.knowm.xchange.utils.CertHelper;
import org.knowm.xchange.utils.nonce.CurrentTimeNonceFactory;

import si.mazi.rescu.SynchronizedValueFactory;
Expand All @@ -58,21 +55,11 @@ protected void initServices() {

@Override
public ExchangeSpecification getDefaultExchangeSpecification() {

try {
CertHelper.trustAllCerts(); //TODO FIXME before release!
System.setProperty("jsse.enableSNIExtension", "false");
} catch (Exception ex) {
Logger.getLogger(CoinmateExchange.class.getName()).log(Level.SEVERE, null, ex);
}

ExchangeSpecification exchangeSpecification = new ExchangeSpecification(this.getClass().getCanonicalName());
exchangeSpecification.setSslUri("https://coinmate.io");
//exchangeSpecification.setSslUri("https://104.45.25.164"); //TODO FIXME before release!
exchangeSpecification.setHost("coinmate.io");
//exchangeSpecification.setHost("104.45.25.164");
exchangeSpecification.setPort(80);
//exchangeSpecification.setPort(443);
exchangeSpecification.setExchangeName("CoinMate");
exchangeSpecification.setExchangeDescription("Bitcoin trading made simple.");

Expand Down

0 comments on commit 1fa9cfd

Please sign in to comment.