From a40209ddbd5793cec9e64f5a2d6baaac0412936c Mon Sep 17 00:00:00 2001 From: lateminer Date: Fri, 19 Oct 2018 20:55:01 +0300 Subject: [PATCH] Declare nNewHeight; main.cpp --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) 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();