Declare nNewHeight;

main.cpp
This commit is contained in:
lateminer
2018-10-19 20:55:01 +03:00
parent 48ea3a4abe
commit a40209ddbd

View File

@@ -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();