|
|
@ -564,8 +564,12 @@ void CTxMemPool::removeForBlock(const std::vector<CTransaction>& vtx, unsigned i |
|
|
|
} |
|
|
|
} |
|
|
|
BOOST_FOREACH(const CTransaction& tx, vtx) |
|
|
|
BOOST_FOREACH(const CTransaction& tx, vtx) |
|
|
|
{ |
|
|
|
{ |
|
|
|
std::list<CTransaction> dummy; |
|
|
|
txiter it = mapTx.find(tx.GetHash()); |
|
|
|
remove(tx, dummy, false); |
|
|
|
if (it != mapTx.end()) { |
|
|
|
|
|
|
|
setEntries stage; |
|
|
|
|
|
|
|
stage.insert(it); |
|
|
|
|
|
|
|
RemoveStaged(stage); |
|
|
|
|
|
|
|
} |
|
|
|
removeConflicts(tx, conflicts); |
|
|
|
removeConflicts(tx, conflicts); |
|
|
|
ClearPrioritisation(tx.GetHash()); |
|
|
|
ClearPrioritisation(tx.GetHash()); |
|
|
|
} |
|
|
|
} |
|
|
|