Fix comparison error
This commit is contained in:
@@ -1020,7 +1020,7 @@ void static BitcoinMiner_noeq()
|
|||||||
CBlockIndex* pindexPrev = chainActive.Tip();
|
CBlockIndex* pindexPrev = chainActive.Tip();
|
||||||
|
|
||||||
// prevent forking on startup before the diff algorithm kicks in
|
// prevent forking on startup before the diff algorithm kicks in
|
||||||
if (pindexPrev < 70)
|
if (pindexPrev->nHeight < 70)
|
||||||
{
|
{
|
||||||
do {
|
do {
|
||||||
lastTip = pindexPrev;
|
lastTip = pindexPrev;
|
||||||
|
|||||||
Reference in New Issue
Block a user