From 9e6d82d24212a50c81058968e7a557d950252100 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 18 Sep 2016 19:29:51 -0300 Subject: [PATCH] test --- iguana/iguana_bundles.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index 0348dd278..06ae503b4 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -208,7 +208,7 @@ int32_t iguana_bundlehash2add(struct iguana_info *coin,struct iguana_block **blo { static uint32_t counter; if ( counter++ < 100 ) - printf("iguana_bundlehash2add null hash2 bp.%p\n",bp); + printf("iguana_bundlehash2add %s null hash2 bp.%p\n",coin->symbol,bp); return(-1111); } if ( bits256_nonz(hash2) != 0 && (block= iguana_blockhashset("bundlehash2add",coin,-1,hash2,1)) != 0 ) @@ -318,7 +318,9 @@ int32_t iguana_bundlehash2add(struct iguana_info *coin,struct iguana_block **blo } else if ( setval < 0 ) { - printf("neg setval error\n"); + static uint32_t counter; + if ( counter++ < 100 ) + printf("%s neg setval error\n",coin->symbol); err |= 64; } if ( err == 0 && blockp != 0 )