This commit is contained in:
jl777
2016-10-20 11:29:48 -03:00
parent 681589a5b1
commit 5b2624bdbe
2 changed files with 6 additions and 8 deletions

View File

@@ -307,7 +307,6 @@ bool CBlockTreeDB::LoadBlockIndexGuts()
pindexNew->nStatus = diskindex.nStatus;
pindexNew->nTx = diskindex.nTx;
uint8_t pubkey33[33];
printf("from txdb\n");
komodo_index2pubkey33(pubkey33,pindexNew,pindexNew->nHeight);
if (!CheckProofOfWork(pindexNew->nHeight,pubkey33,pindexNew->GetBlockHash(), pindexNew->nBits, Params().GetConsensus()))
return error("LoadBlockIndex(): CheckProofOfWork failed: %s", pindexNew->ToString());