|
@ -1376,7 +1376,7 @@ struct iguana_bundlereq *iguana_recvblockhdrs(struct supernet_info *myinfo,struc |
|
|
firstbp = bp; |
|
|
firstbp = bp; |
|
|
if ( block->height >= 0 && block->height+1 > coin->longestchain ) |
|
|
if ( block->height >= 0 && block->height+1 > coin->longestchain ) |
|
|
coin->longestchain = block->height+1; |
|
|
coin->longestchain = block->height+1; |
|
|
_iguana_chainlink(myinfo,coin,block); |
|
|
//_iguana_chainlink(myinfo,coin,block);
|
|
|
} |
|
|
} |
|
|
//char str[65]; printf("HWM in hdr's prev[%d] bp.%p bundlei.%d block.%p %s\n",i,bp,bundlei,block,bp!=0?bits256_str(str,bp->hashes[bundlei]):"()");
|
|
|
//char str[65]; printf("HWM in hdr's prev[%d] bp.%p bundlei.%d block.%p %s\n",i,bp,bundlei,block,bp!=0?bits256_str(str,bp->hashes[bundlei]):"()");
|
|
|
} |
|
|
} |
|
|