|
|
@ -762,8 +762,8 @@ int64_t iguana_bundlecalcs(struct iguana_info *coin,struct iguana_bundle *bp) |
|
|
|
int32_t iguana_bundlefinish(struct iguana_info *coin,struct iguana_bundle *bp) |
|
|
|
{ |
|
|
|
struct iguana_bundle *prevbp; int32_t i; |
|
|
|
//if ( (prevbp= coin->current) != 0 && prevbp->hdrsi < (coin->longestchain / coin->chain->bundlesize)-1 )
|
|
|
|
// return(0);
|
|
|
|
if ( (prevbp= coin->current) != 0 && prevbp->hdrsi < (coin->longestchain / coin->chain->bundlesize)-1 ) |
|
|
|
return(0); |
|
|
|
for (i=0; i<bp->hdrsi; i++) |
|
|
|
if ( (prevbp= coin->bundles[i]) == 0 || prevbp->emitfinish < coin->startutc ) |
|
|
|
break; |
|
|
|