diff --git a/src/main.cpp b/src/main.cpp index b841ef09b..8b9c6bb17 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3105,6 +3105,7 @@ bool ActivateBestChain(CValidationState &state, const CChainParams& chainparams, const CBlockIndex *pindexFork; bool fInitialDownload; + int nNewHeight; { LOCK(cs_main); CBlockIndex *pindexOldTip = chainActive.Tip();