From b257ffad5ec3d70801b72cf7b83d7da6ed067162 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 9 Mar 2016 16:36:48 -0300 Subject: [PATCH] test --- iguana/iguana_recv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/iguana_recv.c b/iguana/iguana_recv.c index c2276313e..3176e4e80 100755 --- a/iguana/iguana_recv.c +++ b/iguana/iguana_recv.c @@ -939,9 +939,9 @@ int32_t iguana_pollQsPT(struct iguana_info *coin,struct iguana_peer *addr) return(0); } priority = 1; - if ( (req= queue_dequeue(&coin->priorityQ,0)) == 0 && 0 && (rand() % 50) == 0 ) + if ( (req= queue_dequeue(&coin->priorityQ,0)) == 0 && (rand() % 10) == 0 ) { - if ( 1 || (rand() & 1) == 0 ) + if ( (rand() & 1) == 0 ) flag = iguana_neargap(coin,addr); else if ( (bp= addr->bp) != 0 && bp->rank != 0 && addr->pendblocks < limit ) {