From 0db7aeb0a3c2e3944604fc9ee64fa90413b8f668 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 19 Mar 2016 00:13:58 -0300 Subject: [PATCH] test --- iguana/iguana_bundles.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index ea1431ae4..bc723d0d4 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -190,7 +190,7 @@ int32_t iguana_bundlehash2add(struct iguana_info *coin,struct iguana_block **blo int32_t otherbundlei,setval,bundlesize,err = 0; if ( blockp != 0 ) *blockp = 0; - if ( bp == 0 ) + if ( bp == 0 || bits256_nonz(hash2) == 0 ) return(-1111); if ( bits256_nonz(hash2) > 0 && (block= iguana_blockhashset(coin,-1,hash2,1)) != 0 ) {