diff --git a/iguana/iguana_init.c b/iguana/iguana_init.c index 0c342a13c..5442be433 100755 --- a/iguana/iguana_init.c +++ b/iguana/iguana_init.c @@ -276,7 +276,7 @@ void iguana_parseline(struct iguana_info *coin,int32_t iter,FILE *fp) //if ( bp->hdrsi == 0 || coin->bundles[bp->hdrsi-1]->emitfinish != 0 ) { //bp->startutxo = (uint32_t)time(NULL); - printf("GENERATE UTXO, verify sigs, etc for ht.%d\n",bp->bundleheight); + //printf("GENERATE UTXO, verify sigs, etc for ht.%d\n",bp->bundleheight); iguana_bundleQ(coin,bp,1000); } } diff --git a/iguana/iguana_recv.c b/iguana/iguana_recv.c index 1e0140525..bc1bd4168 100755 --- a/iguana/iguana_recv.c +++ b/iguana/iguana_recv.c @@ -1339,7 +1339,7 @@ int32_t iguana_reqblocks(struct iguana_info *coin) next = 0; } } - else if ( bits256_nonz(bp->hashes[bundlei]) != 0 ) + else if ( bp != 0 && bits256_nonz(bp->hashes[bundlei]) != 0 ) iguana_blockQ(coin,bp,bundlei,bp->hashes[bundlei],0); if ( next != 0 ) {