mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-10-10 11:33:46 +02:00
tree-wide: Fix erroneous AcceptToMemoryPool replacements
This commit is contained in:
@@ -356,7 +356,7 @@ void CTxMemPool::AddTransactionsUpdated(unsigned int n)
|
|||||||
void CTxMemPool::addUnchecked(const CTxMemPoolEntry &entry, setEntries &setAncestors, bool validFeeEstimate)
|
void CTxMemPool::addUnchecked(const CTxMemPoolEntry &entry, setEntries &setAncestors, bool validFeeEstimate)
|
||||||
{
|
{
|
||||||
// Add to memory pool without checking anything.
|
// Add to memory pool without checking anything.
|
||||||
// Used by AcceptToMemoryPool(::ChainstateActive(), ), which DOES do
|
// Used by AcceptToMemoryPool(), which DOES do
|
||||||
// all the appropriate checks.
|
// all the appropriate checks.
|
||||||
indexed_transaction_set::iterator newit = mapTx.insert(entry).first;
|
indexed_transaction_set::iterator newit = mapTx.insert(entry).first;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user