Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
0db7aeb0a3
  1. 2
      iguana/iguana_bundles.c

2
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; int32_t otherbundlei,setval,bundlesize,err = 0;
if ( blockp != 0 ) if ( blockp != 0 )
*blockp = 0; *blockp = 0;
if ( bp == 0 ) if ( bp == 0 || bits256_nonz(hash2) == 0 )
return(-1111); return(-1111);
if ( bits256_nonz(hash2) > 0 && (block= iguana_blockhashset(coin,-1,hash2,1)) != 0 ) if ( bits256_nonz(hash2) > 0 && (block= iguana_blockhashset(coin,-1,hash2,1)) != 0 )
{ {

Loading…
Cancel
Save