This commit is contained in:
jl777
2016-10-20 20:20:38 -03:00
parent 750cb34a18
commit 34ad681a42
2 changed files with 3 additions and 3 deletions

View File

@@ -357,10 +357,10 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn)
pblocktemplate->vTxSigOps[0] = GetLegacySigOpCount(pblock->vtx[0]);
CValidationState state;
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");
//throw std::runtime_error("CreateNewBlock(): TestBlockValidity failed");
}
}