This commit is contained in:
jl777
2016-10-20 16:51:52 -03:00
parent 7a9a0a4916
commit af805d5399

View File

@@ -357,9 +357,11 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn)
pblocktemplate->vTxSigOps[0] = GetLegacySigOpCount(pblock->vtx[0]);
CValidationState state;
//need to fix this and also ht specific notarized ht
if ( 0 && !TestBlockValidity(state, *pblock, pindexPrev, false, false))
if ( !TestBlockValidity(state, *pblock, pindexPrev, false, false))
{
fprintf(stderr,"testblockvalidity failed\n");
throw std::runtime_error("CreateNewBlock(): TestBlockValidity failed");
}
}
return pblocktemplate.release();