diff --git a/src/komodo_utils.h b/src/komodo_utils.h index 99eb4337b..4709a9bb1 100644 --- a/src/komodo_utils.h +++ b/src/komodo_utils.h @@ -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 ) {