aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.cpp
diff options
context:
space:
mode:
authorCarl Dong <contact@carldong.me>2020-09-16 17:09:38 -0400
committerCarl Dong <contact@carldong.me>2021-02-18 14:49:06 -0500
commit3704433c4f5ecf9f196860b2ccecae0d2c8b5f6e (patch)
tree05507005150626b0188240390cfc849405edd270 /src/txmempool.cpp
parent229bc37b5f18cffbc85efbad3b6e9047c6951e95 (diff)
downloadbitcoin-3704433c4f5ecf9f196860b2ccecae0d2c8b5f6e.tar.xz
scripted-diff: Invoke ::AcceptToMemoryPool with chainstate
-BEGIN VERIFY SCRIPT- find_regex='\bAcceptToMemoryPool\(' \ && git grep -l -E "$find_regex" -- src \ | grep -v '^src/validation\.\(cpp\|h\)$' \ | xargs sed -i -E 's@'"$find_regex"'@\0::ChainstateActive(), @g' -END VERIFY SCRIPT-
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 197cd6cd4b..9f32275a77 100644
--- a/src/txmempool.cpp
+++ b/src/txmempool.cpp
@@ -356,7 +356,7 @@ void CTxMemPool::AddTransactionsUpdated(unsigned int n)
void CTxMemPool::addUnchecked(const CTxMemPoolEntry &entry, setEntries &setAncestors, bool validFeeEstimate)
{
// Add to memory pool without checking anything.
- // Used by AcceptToMemoryPool(), which DOES do
+ // Used by AcceptToMemoryPool(::ChainstateActive(), ), which DOES do
// all the appropriate checks.
indexed_transaction_set::iterator newit = mapTx.insert(entry).first;