From af805d5399c56d72b22d3f75cabb068e5b2afd9e Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 20 Oct 2016 16:51:52 -0300 Subject: [PATCH] test --- src/miner.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/miner.cpp b/src/miner.cpp index d6243684d..b32c64b39 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -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();