jl777 8 years ago
parent
commit
5ed1ec183d
  1. 2
      iguana/iguana_recv.c

2
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); bundlei = ((mainchain->height+i) % coin->chain->bundlesize);
if ( hdrsi < coin->bundlescount && (bp= coin->bundles[hdrsi]) != 0 ) 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_bundle_set(coin,tmp,mainchain->height+i);
iguana_RTnewblock(myinfo,coin,tmp); iguana_RTnewblock(myinfo,coin,tmp);

Loading…
Cancel
Save