From 8ab5eefd1a1099ea05bedde2f89ff368715d4c82 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 7 Feb 2018 21:44:24 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_nativeDEX.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/iguana/exchanges/LP_nativeDEX.c b/iguana/exchanges/LP_nativeDEX.c index 48104a144..a3e51164e 100644 --- a/iguana/exchanges/LP_nativeDEX.c +++ b/iguana/exchanges/LP_nativeDEX.c @@ -533,7 +533,7 @@ void LP_coinsloop(void *_coins) nonz = 0; HASH_ITER(hh,LP_coins,coin,ctmp) // firstrefht,firstscanht,lastscanht { - if ( coins != 0 ) + /*if ( coins != 0 ) { if ( coins[0] != 0 ) { @@ -545,9 +545,7 @@ void LP_coinsloop(void *_coins) if ( strcmp("BTC",coin->symbol) == 0 || strcmp("KMD",coin->symbol) == 0 ) continue; } - } - if ( 0 && strcmp(coin->symbol,"BEER") == 0 ) - continue; + }*/ if ( coin->smartaddr[0] == 0 ) { printf("%s has no smartaddress??\n",coin->symbol); @@ -1398,7 +1396,7 @@ void LPinit(uint16_t myport,uint16_t mypullport,uint16_t mypubport,uint16_t mybu printf("error launching LP_coinsloop for (%s)\n",""); exit(-1); } - if ( OS_thread_create(malloc(sizeof(pthread_t)),NULL,(void *)LP_coinsloop,(void *)"BTC") != 0 ) + /*if ( OS_thread_create(malloc(sizeof(pthread_t)),NULL,(void *)LP_coinsloop,(void *)"BTC") != 0 ) { printf("error launching LP_coinsloop for (%s)\n","BTC"); exit(-1); @@ -1407,7 +1405,7 @@ void LPinit(uint16_t myport,uint16_t mypullport,uint16_t mypubport,uint16_t mybu { printf("error launching LP_coinsloop for (%s)\n","KMD"); exit(-1); - } + }*/ if ( OS_thread_create(malloc(sizeof(pthread_t)),NULL,(void *)LP_pubkeysloop,ctx) != 0 ) { printf("error launching LP_pubkeysloop for ctx.%p\n",ctx);