From 87a6678eda49242005c2810e5e7d48085ca70b77 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 4 Sep 2016 08:44:25 -0300 Subject: [PATCH] test --- iguana/iguana_bundles.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index 3d51a03e0..1b1eb18e9 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -655,8 +655,8 @@ int32_t iguana_bundleissuemissing(struct supernet_info *myinfo,struct iguana_inf { if ( (block= bp->blocks[i]) != 0 && block->txvalid != 0 ) continue; - //if ( GETBIT(bp->haveblock,i) != 0 ) - // continue; + if ( GETBIT(bp->haveblock,i) != 0 ) + continue; nonz++; if ( firsti < 0 ) firsti = i; @@ -679,7 +679,7 @@ int32_t iguana_bundleissuemissing(struct supernet_info *myinfo,struct iguana_inf req->height = bp->bundleheight + i; req->bundlei = i; queue_enqueue("missing",&coin->priorityQ,&req->DL,0); - bp->issued[i] = (uint32_t)time(NULL); + bp->issued[i] = 1; n++; } //else printf("[z%d] ",i); } //else printf("%d ",now - (bp->issued[i]+lag));