From dde3568f79452afa0e56e1c35ea83b7503c6db30 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 10 Mar 2016 02:22:50 -0300 Subject: [PATCH] test --- iguana/iguana_recv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/iguana_recv.c b/iguana/iguana_recv.c index 0e4bdefef..4dbd222f2 100755 --- a/iguana/iguana_recv.c +++ b/iguana/iguana_recv.c @@ -374,7 +374,7 @@ int32_t iguana_bundleiters(struct iguana_info *coin,struct iguana_bundle *bp,int iguana_bundleQ(coin,bp,bp->n*5); return(0); } - if ( bp->rank != 0 && bp->rank <= coin->peers.numranked ) + if ( coin->current != 0 && bp->rank != 0 && bp->rank <= coin->current->hdrsi + coin->peers.numranked ) { for (i=0; in; i++) {