From 522bc74d68e3a8d0b078422d3d5c662aac500f8a Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 7 Mar 2016 01:05:06 -0300 Subject: [PATCH] test --- iguana/iguana777.h | 2 +- iguana/iguana_recv.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/iguana/iguana777.h b/iguana/iguana777.h index 0493920c7..2f49b8ec1 100755 --- a/iguana/iguana777.h +++ b/iguana/iguana777.h @@ -276,7 +276,7 @@ struct iguana_block int32_t height,fpos; uint32_t fpipbits,numrequests,issued; uint16_t hdrsi,bundlei:12,mainchain:1,valid:1,queued:1,tbd:1,extra:8; UT_hash_handle hh; bits256 *blockhashes; -} __attribute__((packed)); +};// __attribute__((packed)); #define IGUANA_LHASH_BLOCKS 0 diff --git a/iguana/iguana_recv.c b/iguana/iguana_recv.c index 5958db57e..b11228b94 100755 --- a/iguana/iguana_recv.c +++ b/iguana/iguana_recv.c @@ -469,6 +469,7 @@ struct iguana_bundle *iguana_bundleset(struct iguana_info *coin,struct iguana_bl fprintf(stderr,"bundleset block.%p vs origblock.%p\n",block,origblock); if ( block != origblock ) iguana_blockcopy(coin,block,origblock); + fprintf(stderr,"copy %p\n",blockp); *blockp = block; prevhash2 = origblock->RO.prev_block; fprintf(stderr,"set prevhash2\n");