From 2c60f2ffaeec2a9a8e1960de672bad4f2d965b53 Mon Sep 17 00:00:00 2001 From: DeckerSU Date: Tue, 25 Feb 2020 17:56:17 +0300 Subject: [PATCH] disable assertion when -debug arg is passed --- src/miner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/miner.cpp b/src/miner.cpp index 8d3c5d4c4..a91fa9527 100644 --- a/src/miner.cpp +++ b/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();