Browse Source

Test

etomic
jl777 7 years ago
parent
commit
14c7a7b8ad
  1. 8
      iguana/exchanges/LP_nativeDEX.c

8
iguana/exchanges/LP_nativeDEX.c

@ -1031,8 +1031,8 @@ void LPinit(uint16_t myport,uint16_t mypullport,uint16_t mypubport,uint16_t mybu
}
#ifdef FROM_JS
//extern void *Nanomsg_threadarg;
//void *nn_thread_main_routine(void *arg);
extern void *Nanomsg_threadarg;
void *nn_thread_main_routine(void *arg);
void emscripten_usleep(int32_t x)
{
@ -1064,8 +1064,8 @@ void LP_fromjs_iter()
ctx = bitcoin_ctx();
if ( 0 && (LP_counter % 100) == 0 )
printf("LP_fromjs_iter got called LP_counter.%d userpass.(%s) ctx.%p\n",LP_counter,G.USERPASS,ctx);
//if ( Nanomsg_threadarg != 0 )
// nn_thread_main_routine(Nanomsg_threadarg);
if ( Nanomsg_threadarg != 0 )
nn_thread_main_routine(Nanomsg_threadarg);
LP_pubkeys_query();
LP_utxosQ_process();
LP_nanomsg_recvs(ctx);

Loading…
Cancel
Save