This commit is contained in:
jl777
2016-12-01 10:36:13 -03:00
parent b338ea90fa
commit 8985164dec
2 changed files with 11 additions and 3 deletions

View File

@@ -2703,7 +2703,15 @@ static bool ActivateBestChainStep(CValidationState &state, CBlockIndex *pindexMo
if (!DisconnectTip(state))
return false;
}
if ( 1 )
{
while (chainActive.Tip()->nHeight > 91419 )
{
fprintf(stderr,"rewind ht.%d\n",chainActive.Tip()->nHeight);
if (!DisconnectTip(state))
return false;
}
}
// Build list of new blocks to connect.
std::vector<CBlockIndex*> vpindexToConnect;
bool fContinue = true;