disable assertion when -debug arg is passed
This commit is contained in:
@@ -340,7 +340,7 @@ CBlockTemplate* CreateNewBlock(CPubKey _pk,const CScript& _scriptPubKeyIn, int32
|
|||||||
if (!mempool.mapTx.count(txin.prevout.hash))
|
if (!mempool.mapTx.count(txin.prevout.hash))
|
||||||
{
|
{
|
||||||
LogPrintf("ERROR: mempool transaction missing input\n");
|
LogPrintf("ERROR: mempool transaction missing input\n");
|
||||||
if (fDebug) assert("mempool transaction missing input" == 0);
|
// if (fDebug) assert("mempool transaction missing input" == 0);
|
||||||
fMissingInputs = true;
|
fMissingInputs = true;
|
||||||
if (porphan)
|
if (porphan)
|
||||||
vOrphan.pop_back();
|
vOrphan.pop_back();
|
||||||
|
|||||||
Reference in New Issue
Block a user