Verus Proof of Stake Compete with Additional ant-fork protection on block 1
This commit is contained in:
@@ -532,7 +532,7 @@ bool CBlockTreeDB::LoadBlockIndexGuts()
|
||||
{
|
||||
uint8_t pubkey33[33];
|
||||
komodo_index2pubkey33(pubkey33,pindexNew,pindexNew->nHeight);
|
||||
if (!CheckProofOfWork(pindexNew->nHeight,pubkey33,pindexNew->GetBlockHash(), pindexNew->nBits, Params().GetConsensus(),pindexNew->nTime))
|
||||
if (!CheckProofOfWork(header,pubkey33,pindexNew->nHeight,Params().GetConsensus()))
|
||||
return error("LoadBlockIndex(): CheckProofOfWork failed: %s", pindexNew->ToString());
|
||||
}
|
||||
pcursor->Next();
|
||||
|
||||
Reference in New Issue
Block a user