From c0c38bb43d12591bae0af64b89506c6b0f771a9d Mon Sep 17 00:00:00 2001 From: miketout Date: Sun, 6 May 2018 14:13:20 -0700 Subject: [PATCH] fix off by one --- src/miner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/miner.cpp b/src/miner.cpp index 057cf618c..a107931ef 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -758,7 +758,7 @@ void static BitcoinMiner_noeq() CBlockIndex* curTip; do { curTip = chainActive.Tip(); - printf("Verifying block height %d", chainActive.Tip()->nHeight + 1); + printf("Verifying block height %d", chainActive.Tip()->nHeight); sleep(2); } while (curTip != chainActive.Tip()); printf("Mining height %d", chainActive.Tip()->nHeight + 1);