Skip to content

Commit

Permalink
Fix comment in removeForReorg
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBlueMatt authored and sdaftuar committed Nov 30, 2015
1 parent 9b060e5 commit b0a064c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/txmempool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,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++) {
Expand Down

0 comments on commit b0a064c

Please sign in to comment.