jl777 7 years ago
parent
commit
8ab5eefd1a
  1. 10
      iguana/exchanges/LP_nativeDEX.c

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

Loading…
Cancel
Save