diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index 7da6a2191..c5dba3c7c 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -228,7 +228,11 @@ int32_t iguana_bundlehash2add(struct iguana_info *coin,struct iguana_block **blo iguana_blockzcopy(coin->chain->zcash,(void *)&coin->blocks.hwmchain,block); printf("RESET HWM to %d ht.%d\n",bp->bundleheight+bundlei,block->height); return(-1); - } + } else printf("couldnt find block at %d\n",bp->bundleheight+bundlei); + } + else if ( bundlei > 0 ) + { + bp->blocks[bundlei] = 0; } iguana_blockunmark(coin,block,bp,bundlei,1); return(-1);