disaable longestchain check in miner under 128 blocks

This commit is contained in:
blackjok3r
2018-10-22 17:11:27 +08:00
parent 4da719819f
commit 5418cd4ad7

View File

@@ -957,7 +957,7 @@ void static BitcoinMiner()
}
while (true)
{
if ( KOMODO_INSYNC == 0 )
if ( KOMODO_INSYNC == 0 && Mining_height > ASSETCHAINS_MINHEIGHT )
{
fprintf(stderr,"Mining when blockchain might not be in sync longest.%d vs %d\n",KOMODO_LONGESTCHAIN,Mining_height);
if ( KOMODO_LONGESTCHAIN != 0 && Mining_height >= KOMODO_LONGESTCHAIN )