Browse Source

Fix comment in removeForReorg

metaverse
Matt Corallo 9 years ago
committed by Jack Grigg
parent
commit
c944d161fd
No known key found for this signature in database GPG Key ID: 665DBCD284F7DAFF
  1. 2
      src/txmempool.cpp

2
src/txmempool.cpp

@ -170,7 +170,7 @@ void CTxMemPool::remove(const CTransaction &origTx, std::list<CTransaction>& rem
void CTxMemPool::removeForReorg(const CCoinsViewCache *pcoins, unsigned int nMemPoolHeight)
{
// Remove transactions spending a coinbase which are now immature
// Remove transactions spending a coinbase which are now immature and no-longer-final transactions
LOCK(cs);
list<CTransaction> transactionsToRemove;
for (indexed_transaction_set::const_iterator it = mapTx.begin(); it != mapTx.end(); it++) {

Loading…
Cancel
Save