This commit is contained in:
jl777
2017-02-25 09:29:14 +02:00
parent 106a1d040e
commit 17d204f5f9

View File

@@ -423,8 +423,8 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn)
CValidationState state;
if ( !TestBlockValidity(state, *pblock, pindexPrev, false, false))
{
fprintf(stderr,"testblockvalidity failed\n");
throw std::runtime_error("CreateNewBlock(): TestBlockValidity failed");
fprintf(stderr,"warning: testblockvalidity failed\n");
//throw std::runtime_error("CreateNewBlock(): TestBlockValidity failed");
}
}