This commit is contained in:
jl777
2018-04-25 02:51:17 +03:00
parent 9cdde30c2c
commit f190f354b0

View File

@@ -3561,7 +3561,7 @@ CBlockIndex* AddToBlockIndex(const CBlockHeader& block)
} }
if ( miPrev != mapBlockIndex.end() && (*miPrev).second == 0 ) if ( miPrev != mapBlockIndex.end() && (*miPrev).second == 0 )
{ {
fprintf(stderr,"edge case of both block and prevblock in the strange state\n"); //fprintf(stderr,"edge case of both block and prevblock in the strange state\n");
return(0); // return here to avoid the state of pindex->nHeight not set and pprev NULL return(0); // return here to avoid the state of pindex->nHeight not set and pprev NULL
} }
} }