aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.cpp
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2015-09-05 21:40:21 -0700
committerSuhas Daftuar <sdaftuar@gmail.com>2015-11-30 13:02:05 -0500
commitb0a064c4b825c15dee87739348bab23f13541bdd (patch)
tree6189a5275df6f0ef457278a3dafc8bf9ea08d8bb /src/txmempool.cpp
parent9b060e5cfb0d185b553b21ae19d390f81e83bd4d (diff)
downloadbitcoin-b0a064c4b825c15dee87739348bab23f13541bdd.tar.xz
Fix comment in removeForReorg
Diffstat (limited to 'src/txmempool.cpp')
-rw-r--r--src/txmempool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txmempool.cpp b/src/txmempool.cpp
index 1c38e32601..a2a53b0180 100644
--- a/src/txmempool.cpp
+++ b/src/txmempool.cpp
@@ -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++) {