Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
5728d5456a
  1. 2
      iguana/SuperNET_keys.c
  2. 4
      iguana/main.c

2
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 )

4
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);

Loading…
Cancel
Save