diff --git a/iguana/iguana_recv.c b/iguana/iguana_recv.c index f87e2379f..d30e499e9 100755 --- a/iguana/iguana_recv.c +++ b/iguana/iguana_recv.c @@ -810,6 +810,8 @@ void iguana_gotblockM(struct supernet_info *myinfo,struct iguana_info *coin,stru //printf("getblockM update [%d:%d] %s\n",bp->hdrsi,bundlei,bits256_str(str,origtxdata->zblock.RO.hash2)); if ( block != 0 ) { + if ( block->height < 0 ) + block->bundlei = -1; block->txvalid = 1; if ( block->fpipbits != 0 && block->fpos >= 0 ) { diff --git a/includes/iguana_structs.h b/includes/iguana_structs.h index 800701b23..b36bbc4fd 100755 --- a/includes/iguana_structs.h +++ b/includes/iguana_structs.h @@ -214,8 +214,8 @@ struct iguana_zblockRO } PACKEDSTRUCT; #define iguana_blockfields double PoW; \ -int32_t height,fpos; uint32_t fpipbits,issued,lag:18,sigsvalid:1,protected:1,peerid:12; \ -uint16_t hdrsi:15,mainchain:1,bundlei:11,valid:1,queued:1,txvalid:1,newtx:1,processed:1; \ +int32_t height,fpos; uint32_t fpipbits,issued,lag:17,sigsvalid:1,protected:1,peerid:12,processed:1; \ +uint16_t hdrsi:15,mainchain:1; int16_t bundlei:12,valid:1,queued:1,txvalid:1,newtx:1; \ UT_hash_handle hh; struct iguana_bundlereq *req; \ struct iguana_blockRO RO