diff options
author | Carl Dong <contact@carldong.me> | 2020-09-16 17:09:38 -0400 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2021-02-18 14:49:06 -0500 |
commit | 3704433c4f5ecf9f196860b2ccecae0d2c8b5f6e (patch) | |
tree | 05507005150626b0188240390cfc849405edd270 /src/txmempool.cpp | |
parent | 229bc37b5f18cffbc85efbad3b6e9047c6951e95 (diff) | |
download | bitcoin-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.cpp | 2 |
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; |