From 354ddd84339746932a0185ff5ecca52f0e0780cf Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 22 Mar 2016 13:48:09 -0300 Subject: [PATCH] test --- iguana/iguana_recv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/iguana/iguana_recv.c b/iguana/iguana_recv.c index d1a377524..0bfde50e7 100755 --- a/iguana/iguana_recv.c +++ b/iguana/iguana_recv.c @@ -551,7 +551,9 @@ struct iguana_bundlereq *iguana_recvblockhdrs(struct iguana_info *coin,struct ig if ( i != n-1 ) fprintf(stderr,"recvhdr: ht.%d[%d] vs i.%d\n",bp->bundleheight,bundlei,i); } - } else printf("blockhash[%d] cant be found\n",i); + } + else if ( bp != firstbp ) + printf("blockhash[%d] cant be found\n",i); } //char str[65]; printf("blockhdrs.%s hdrsi.%d\n",bits256_str(str,blocks[0].RO.hash2),firstbp!=0?firstbp->hdrsi:-1); if ( firstbp != 0 && match == coin->chain->bundlesize-1 && n == firstbp->n )