fix off by one

This commit is contained in:
miketout
2018-05-06 14:13:20 -07:00
parent 9f3e2213bf
commit c0c38bb43d

View File

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