test
This commit is contained in:
@@ -178,10 +178,10 @@ int32_t komodo_longestchain()
|
|||||||
ht = 0;
|
ht = 0;
|
||||||
if ( stats.nStartingHeight > ht )
|
if ( stats.nStartingHeight > ht )
|
||||||
ht = stats.nStartingHeight;
|
ht = stats.nStartingHeight;
|
||||||
if ( stats.nSyncHeight > ht )
|
if ( statestats.nSyncHeight > ht )
|
||||||
ht = stats.nSyncHeight;
|
ht = statestats.nSyncHeight;
|
||||||
if ( stats.nCommonHeight > ht )
|
if ( statestats.nCommonHeight > ht )
|
||||||
ht = stats.nCommonHeight;
|
ht = statestats.nCommonHeight;
|
||||||
if ( maxheight == 0 || ht > maxheight*1.01 )
|
if ( maxheight == 0 || ht > maxheight*1.01 )
|
||||||
maxheight = ht, num = 1;
|
maxheight = ht, num = 1;
|
||||||
else if ( ht > maxheight*0.99 )
|
else if ( ht > maxheight*0.99 )
|
||||||
|
|||||||
Reference in New Issue
Block a user