mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
UNDO: Comment failing assertions
This commit is contained in:
parent
2b180c5557
commit
d05f0268cb
1 changed files with 5 additions and 4 deletions
|
|
@ -627,10 +627,11 @@ void CTxMemPool::check(const CCoinsViewCache *pcoins) const
|
|||
uint256 hash = it->second.ptx->GetHash();
|
||||
map<uint256, CTxMemPoolEntry>::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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue