disable assertion when -debug arg is passed

This commit is contained in:
DeckerSU
2020-02-25 17:56:17 +03:00
committed by Duke Leto
parent c7d96194d6
commit 2c60f2ffae

View File

@@ -340,7 +340,7 @@ CBlockTemplate* CreateNewBlock(CPubKey _pk,const CScript& _scriptPubKeyIn, int32
if (!mempool.mapTx.count(txin.prevout.hash))
{
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;
if (porphan)
vOrphan.pop_back();