From 5ed1ec183d9301e376f89ec348cbc4e2d27dd351 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 18 Sep 2016 14:52:29 -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 447d9df64..35ad1d725 100755 --- a/iguana/iguana_recv.c +++ b/iguana/iguana_recv.c @@ -1238,7 +1238,7 @@ struct iguana_bundle *iguana_bundleset(struct supernet_info *myinfo,struct iguan bundlei = ((mainchain->height+i) % coin->chain->bundlesize); if ( hdrsi < coin->bundlescount && (bp= coin->bundles[hdrsi]) != 0 ) { - if ( (tmp= bp->blocks[hdrsi]) != 0 && tmp->height == mainchain->height+i ) + if ( (tmp= bp->blocks[bundlei]) != 0 && tmp->height == mainchain->height+i ) { iguana_bundle_set(coin,tmp,mainchain->height+i); iguana_RTnewblock(myinfo,coin,tmp);