Browse Source

test

etomic
jl777 8 years ago
parent
commit
96c9b4dda7
  1. 4
      iguana/main.c

4
iguana/main.c

@ -1618,8 +1618,6 @@ void iguana_main(void *arg)
iguana_urlinit(myinfo,ismainnet,usessl); iguana_urlinit(myinfo,ismainnet,usessl);
portable_mutex_init(&myinfo->dpowmutex); portable_mutex_init(&myinfo->dpowmutex);
portable_mutex_init(&myinfo->notarymutex); portable_mutex_init(&myinfo->notarymutex);
if ( myinfo->IAMNOTARY == 0 )
{
#if LIQUIDITY_PROVIDER #if LIQUIDITY_PROVIDER
myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create(clonestr("bitcoin"),0); myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create(clonestr("bitcoin"),0);
myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create(clonestr("poloniex"),0); myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create(clonestr("poloniex"),0);
@ -1633,6 +1631,8 @@ void iguana_main(void *arg)
myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create(clonestr("btce"),0); myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create(clonestr("btce"),0);
myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create(clonestr("bitstamp"),0); myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create(clonestr("bitstamp"),0);
#endif #endif
if ( myinfo->IAMNOTARY == 0 )
{
if ( iguana_commandline(myinfo,arg) == 0 ) if ( iguana_commandline(myinfo,arg) == 0 )
{ {
iguana_helpinit(myinfo); iguana_helpinit(myinfo);

Loading…
Cancel
Save