From c21cd6da62daab72676b7e1e05fc8c7618dc64ca Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 17 Sep 2016 16:48:27 -0300 Subject: [PATCH] test --- iguana/iguana_recv.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/iguana/iguana_recv.c b/iguana/iguana_recv.c index 1ee7e67b2..f03e69bee 100755 --- a/iguana/iguana_recv.c +++ b/iguana/iguana_recv.c @@ -789,13 +789,13 @@ void iguana_gotblockM(struct supernet_info *myinfo,struct iguana_info *coin,stru queue_enqueue("recvQ",&coin->recvQ,&req->DL,0); return; } - /*if ( block == 0 ) - block = iguana_blockhashset("noblock",coin,bp->bundleheight+bundlei,origtxdata->zblock.RO.hash2,1); - if ( block->hdrsi != bp->hdrsi || block->bundlei != bundlei ) - { - block->hdrsi = bp->hdrsi; - block->bundlei = bundlei; - }*/ + if ( block == 0 ) + block = iguana_blockhashset("noblock",coin,bp->bundleheight+bundlei,origtxdata->zblock.RO.hash2,1); + if ( block->hdrsi != bp->hdrsi || block->bundlei != bundlei ) + { + block->hdrsi = bp->hdrsi; + block->bundlei = bundlei; + } if ( (block= bp->blocks[bundlei]) == 0 || bits256_nonz(bp->hashes[bundlei]) == 0 ) { //printf("SET [%d:%d]\n",bp->hdrsi,bundlei);