Fix comparison error

This commit is contained in:
Michael Toutonghi
2018-05-15 05:35:57 -07:00
parent dfcf8255ef
commit 32430433f3

View File

@@ -1020,7 +1020,7 @@ void static BitcoinMiner_noeq()
CBlockIndex* pindexPrev = chainActive.Tip();
// prevent forking on startup before the diff algorithm kicks in
if (pindexPrev < 70)
if (pindexPrev->nHeight < 70)
{
do {
lastTip = pindexPrev;