|
|
|
@ -2018,7 +2018,6 @@ bool CBlock::AcceptBlock(CDiskBlockPos *dbp)
@@ -2018,7 +2018,6 @@ bool CBlock::AcceptBlock(CDiskBlockPos *dbp)
|
|
|
|
|
CBlockIndex* pindexPrev = NULL; |
|
|
|
|
int nHeight = 0; |
|
|
|
|
if (hash != hashGenesisBlock) { |
|
|
|
|
|
|
|
|
|
map<uint256, CBlockIndex*>::iterator mi = mapBlockIndex.find(hashPrevBlock); |
|
|
|
|
if (mi == mapBlockIndex.end()) |
|
|
|
|
return DoS(10, error("AcceptBlock() : prev block not found")); |
|
|
|
|