test
This commit is contained in:
@@ -357,9 +357,11 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn)
|
|||||||
pblocktemplate->vTxSigOps[0] = GetLegacySigOpCount(pblock->vtx[0]);
|
pblocktemplate->vTxSigOps[0] = GetLegacySigOpCount(pblock->vtx[0]);
|
||||||
|
|
||||||
CValidationState state;
|
CValidationState state;
|
||||||
//need to fix this and also ht specific notarized ht
|
if ( !TestBlockValidity(state, *pblock, pindexPrev, false, false))
|
||||||
if ( 0 && !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");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return pblocktemplate.release();
|
return pblocktemplate.release();
|
||||||
|
|||||||
Reference in New Issue
Block a user