Browse Source

Test

etomic
jl777 8 years ago
parent
commit
dff29527c3
  1. 2
      iguana/exchanges/LP_nativeDEX.c

2
iguana/exchanges/LP_nativeDEX.c

@ -467,7 +467,7 @@ void LPinit(uint16_t myport,uint16_t mypullport,uint16_t mypubport,double profit
LP_deadman_switch = (uint32_t)time(NULL);
LP_forwarding_register(LP_mypubkey,pushaddr,mypullport,100000);
}
else
else if ( LP_deadman_switch < time(NULL)-PSOCK_KEEPALIVE/2 )
{
sprintf(keepalive,"{\"method\":\"keepalive\"}");
LP_send(pullsock,keepalive,0);

Loading…
Cancel
Save