Autodetect insync status

This commit is contained in:
jl777
2018-07-25 00:36:23 -11:00
parent 99ba67a0d1
commit c3d91e3bae
2 changed files with 3 additions and 2 deletions

View File

@@ -196,8 +196,9 @@ int32_t komodo_longestchain()
}
if ( num > (n >> 1) )
{
if ( height != KOMODO_LONGESTCHAIN )
fprintf(stderr,"set %s KOMODO_LONGESTCHAIN <- %d\n",ASSETCHAINS_SYMBOL,height);
KOMODO_LONGESTCHAIN = height;
fprintf(stderr,"set KOMODO_LONGESTCHAIN <- %d\n",height);
return(height);
}
KOMODO_LONGESTCHAIN = 0;