Browse Source

Test

etomic
jl777 8 years ago
parent
commit
0c3b3d45a9
  1. 3
      iguana/exchanges/LP_nativeDEX.c

3
iguana/exchanges/LP_nativeDEX.c

@ -372,7 +372,10 @@ int32_t LP_mainloop_iter(void *ctx,char *myipaddr,struct LP_peerinfo *mypeer,int
if ( peer->errors >= LP_MAXPEER_ERRORS ) if ( peer->errors >= LP_MAXPEER_ERRORS )
{ {
if ( (rand() % 10000) == 0 ) if ( (rand() % 10000) == 0 )
{
peer->errors--; peer->errors--;
peer->diduquery = 0;
}
if ( IAMLP == 0 ) if ( IAMLP == 0 )
continue; continue;
} }

Loading…
Cancel
Save