From 5728d5456a4c6c392ae8f0e4aac9a5d78cbc80b9 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 1 Jul 2016 18:18:48 -0300 Subject: [PATCH] test --- iguana/SuperNET_keys.c | 2 -- iguana/main.c | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/iguana/SuperNET_keys.c b/iguana/SuperNET_keys.c index 51be5b14a..3d8a3c1d3 100755 --- a/iguana/SuperNET_keys.c +++ b/iguana/SuperNET_keys.c @@ -89,8 +89,6 @@ char *SuperNET_parsemainargs(struct supernet_info *myinfo,bits256 *wallethashp,b } } //if ( exchanges == 0 ) - exchanges = cJSON_Parse("[{\"name\":\"poloniex\"}, {\"name\":\"bittrex\"}, {\"name\":\"btc38\"}]"); - printf("EXCHANGES.(%s)\n",jprint(exchanges,0)); if ( exchanges != 0 ) exchanges777_init(myinfo,exchanges,0); if ( json != 0 ) diff --git a/iguana/main.c b/iguana/main.c index c85613f17..8c553b354 100755 --- a/iguana/main.c +++ b/iguana/main.c @@ -1488,6 +1488,10 @@ void iguana_main(void *arg) iguana_urlinit(myinfo,ismainnet,usessl); //category_init(myinfo); exchange_create("bitcoin",0); + exchange_create("poloniex",0); + exchange_create("bittrex",0); + exchange_create("btc38",0); + exchange_create("huobi",0); argjson = arg != 0 ? cJSON_Parse(arg) : cJSON_Parse("{}"); //iguana_coinadd("BTC",argjson); dont do this here, coin args not set ///iguana_coinadd("LTC",argjson);