From d05f0268cb36eaa3dee656da8463230f75cf3927 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Tim=C3=B3n?= Date: Wed, 6 Jul 2016 13:39:44 +0200 Subject: [PATCH] UNDO: Comment failing assertions --- src/txmempool.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/txmempool.cpp b/src/txmempool.cpp index 7edc06fbd1..1334726e4f 100644 --- a/src/txmempool.cpp +++ b/src/txmempool.cpp @@ -627,10 +627,11 @@ void CTxMemPool::check(const CCoinsViewCache *pcoins) const uint256 hash = it->second.ptx->GetHash(); map::const_iterator it2 = mapTx.find(hash); const CTransaction& tx = it2->second.GetTx(); - assert(it2 != mapTx.end()); - assert(&tx == it->second.ptx); - assert(tx.vin.size() > it->second.n); - assert(it->first == it->second.ptx->vin[it->second.n].prevout); + fprintf(stdout, "tx %s\n", tx.ToString().c_str()); + // assert(it2 != mapTx.end()); + // assert(&tx == it->second.ptx); + // assert(tx.vin.size() > it->second.n); + // assert(it->first == it->second.ptx->vin[it->second.n].prevout); } assert(totalTxSize == checkTotal);