Komodo_chainactive

This commit is contained in:
jl777
2019-07-30 04:22:44 -11:00
parent 629fb610f6
commit 68bc984985

View File

@@ -2432,7 +2432,7 @@ fprintf(stderr,"extralen.%d before disable bits\n",extralen);
CCENABLE(EVAL_ORACLES);
}
CBlockIndex *pindex;
if ( ASSETCHAINS_ADAPTIVEPOW == 0 && (pindex= komodo_activechain(1)) != 0 )
if ( ASSETCHAINS_ADAPTIVEPOW == 0 && (pindex= komodo_chainactive(1)) != 0 )
{
if ( pindex->nTime > 1564499104-365*2*1440 )
{