From 43e0285f6eb90b42ab28903b3900ed00db389731 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 24 May 2017 22:35:03 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_unspents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_unspents.c b/iguana/exchanges/LP_unspents.c index 2206b75d6..87eace4e9 100644 --- a/iguana/exchanges/LP_unspents.c +++ b/iguana/exchanges/LP_unspents.c @@ -624,7 +624,7 @@ void LPinit(uint16_t myport,uint16_t mypull,uint16_t mypub,double profitmargin) nonz = 0; HASH_ITER(hh,LP_peerinfos,peer,tmp) { - if ( peer->numpeers != mypeer->numpeers ) + if ( peer->numpeers != mypeer->numpeers || (rand() % 10) == 0 ) { printf("%s num.%d vs %d\n",peer->ipaddr,peer->numpeers,mypeer->numpeers); if ( strcmp(peer->ipaddr,myipaddr) != 0 )