Skip to content

Commit b0a064c

Browse files
TheBlueMattsdaftuar
authored andcommitted
Fix comment in removeForReorg
1 parent 9b060e5 commit b0a064c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/txmempool.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ void CTxMemPool::remove(const CTransaction &origTx, std::list<CTransaction>& rem
481481

482482
void CTxMemPool::removeForReorg(const CCoinsViewCache *pcoins, unsigned int nMemPoolHeight)
483483
{
484-
// Remove transactions spending a coinbase which are now immature
484+
// Remove transactions spending a coinbase which are now immature and no-longer-final transactions
485485
LOCK(cs);
486486
list<CTransaction> transactionsToRemove;
487487
for (indexed_transaction_set::const_iterator it = mapTx.begin(); it != mapTx.end(); it++) {

0 commit comments

Comments
 (0)