fix off by one
This commit is contained in:
@@ -758,7 +758,7 @@ void static BitcoinMiner_noeq()
|
|||||||
CBlockIndex* curTip;
|
CBlockIndex* curTip;
|
||||||
do {
|
do {
|
||||||
curTip = chainActive.Tip();
|
curTip = chainActive.Tip();
|
||||||
printf("Verifying block height %d", chainActive.Tip()->nHeight + 1);
|
printf("Verifying block height %d", chainActive.Tip()->nHeight);
|
||||||
sleep(2);
|
sleep(2);
|
||||||
} while (curTip != chainActive.Tip());
|
} while (curTip != chainActive.Tip());
|
||||||
printf("Mining height %d", chainActive.Tip()->nHeight + 1);
|
printf("Mining height %d", chainActive.Tip()->nHeight + 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user