This commit is contained in:
jl777
2019-04-12 01:33:33 -11:00
parent e9e6e18f05
commit 5fb80dee40

View File

@@ -5340,6 +5340,11 @@ bool AcceptBlock(int32_t *futureblockp,CBlock& block, CValidationState& state, C
{
fprintf(stderr,"reconsider height.%d\n",(int32_t)tmpptr->GetHeight()-1);
ReconsiderBlock(tmpstate,tmpindex);
if ( (tmpindex=komodo_chainactive(tmpptr->GetHeight())) != 0 )
{
fprintf(stderr,"reconsider height.%d\n",(int32_t)tmpptr->GetHeight());
ReconsiderBlock(tmpstate,tmpindex);
}
}
}
}