This commit is contained in:
jl777
2016-11-18 11:41:49 -03:00
parent 9c432d66aa
commit 875cf683eb
3 changed files with 37 additions and 13 deletions

View File

@@ -2324,7 +2324,17 @@ bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockIndex* pin
//FlushStateToDisk();
komodo_connectblock(pindex,*(CBlock *)&block);
{
static int32_t didinit;
if ( didinit == 0 )
{
if ( (pindex= chainActive[73673]) != 0 )
{
komodo_connectpindex(pindex);
}
didiint = 73673
}
}
return true;
}