diff --git a/iguana/iguana777.c b/iguana/iguana777.c index c160cf0ed..975a3690f 100755 --- a/iguana/iguana777.c +++ b/iguana/iguana777.c @@ -1048,7 +1048,7 @@ struct iguana_info *iguana_setcoin(char *symbol,void *launched,int32_t maxpeers, if ( (coin->polltimeout= juint(json,"poll")) <= 0 ) coin->polltimeout = IGUANA_DEFAULT_POLLTIMEOUT; coin->active = juint(json,"active"); - if ( (coin->minconfirms = minconfirms) == 0 ) + if ( (coin->minconfirms= minconfirms) == 0 ) coin->minconfirms = (strcmp(symbol,"BTC") == 0) ? 3 : 10; if ( coin->chain == 0 && (coin->chain= iguana_createchain(json)) == 0 ) { diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index 929c3eadc..0348dd278 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -206,7 +206,9 @@ int32_t iguana_bundlehash2add(struct iguana_info *coin,struct iguana_block **blo *blockp = 0; if ( bp == 0 || bits256_nonz(hash2) == 0 ) { - printf("iguana_bundlehash2add null hash2\n"); + static uint32_t counter; + if ( counter++ < 100 ) + printf("iguana_bundlehash2add null hash2 bp.%p\n",bp); return(-1111); } if ( bits256_nonz(hash2) != 0 && (block= iguana_blockhashset("bundlehash2add",coin,-1,hash2,1)) != 0 )