Browse Source

disable assertion when -debug arg is passed

pull/117/head
DeckerSU 4 years ago
committed by Duke Leto
parent
commit
2c60f2ffae
  1. 2
      src/miner.cpp

2
src/miner.cpp

@ -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();

Loading…
Cancel
Save