From 41e57ce68f17f7c16130b7c2cbb443199090f080 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 1 Apr 2016 00:46:43 -0600 Subject: [PATCH] test --- iguana/iguana_recv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/iguana_recv.c b/iguana/iguana_recv.c index d1b0825ef..ee5959cdc 100755 --- a/iguana/iguana_recv.c +++ b/iguana/iguana_recv.c @@ -636,7 +636,7 @@ struct iguana_bundle *iguana_bundleset(struct iguana_info *coin,struct iguana_bl iguana_bundlehash2add(coin,0,bp,bundlei,hash2); if ( bp->emitfinish == 0 ) { - if ( bits256_nonz(block->RO.hash2) != 0 ) + if ( 0 && bits256_nonz(block->RO.hash2) != 0 && block->fpipbits == 0 ) { block->fpos = -1; checki = iguana_peerfname(coin,&hdrsi,GLOBALTMPDIR,fname,0,block->RO.hash2,zero,1,0); @@ -647,7 +647,7 @@ struct iguana_bundle *iguana_bundleset(struct iguana_info *coin,struct iguana_bl block->fpipbits = 1; block->txvalid = 1; block->fpos = 0; - printf("initialize with fp.[%d:%d] len.%d\n",hdrsi,bundlei,block->RO.recvlen); + //printf("initialize with fp.[%d:%d] len.%d\n",hdrsi,bundlei,block->RO.recvlen); fclose(fp); } } else iguana_blockQ("bundleset",coin,bp,bundlei,block->RO.hash2,0);