Merge pull request #998 from jl777/jl777

Prevent sapling activation until ac_sapling set
This commit is contained in:
jl777
2018-11-28 00:35:56 -11:00
committed by GitHub

View File

@@ -5624,7 +5624,8 @@ bool static LoadBlockIndexDB()
if ( (pindex= chainActive.LastTip()) != 0 )
{
fprintf(stderr,"set sapling height, if possible from ht.%d %u\n",(int32_t)pindex->GetHeight(),(uint32_t)pindex->nTime);
komodo_activate_sapling(pindex);
if ( ASSETCHAINS_SAPLING <= 0 )
komodo_activate_sapling(pindex);
}
return true;
}