From 9142ca37359a9b0f08825d690f9093aa33229117 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 15 Jun 2017 12:14:34 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_nativeDEX.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_nativeDEX.c b/iguana/exchanges/LP_nativeDEX.c index cffd75b86..30ff70c8d 100644 --- a/iguana/exchanges/LP_nativeDEX.c +++ b/iguana/exchanges/LP_nativeDEX.c @@ -227,9 +227,9 @@ int32_t LP_mainloop_iter(char *myipaddr,struct LP_peerinfo *mypeer,int32_t pubso } HASH_ITER(hh,LP_peerinfos,peer,tmp) { - printf("updatepeer.%s lag.%d\n",peer->ipaddr,now-peer->lastpeers); if ( now > peer->lastpeers+60 && peer->numpeers > 0 && (peer->numpeers != numpeers || (rand() % 10000) == 0) ) { + printf("updatepeer.%s lag.%d\n",peer->ipaddr,now-peer->lastpeers); peer->lastpeers = now; if ( peer->numpeers != numpeers ) printf("%s num.%d vs %d\n",peer->ipaddr,peer->numpeers,numpeers);