mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-22 15:04:44 +01:00
Delete UpdatePackagesForAdded at beginning of addPackageTxs.
As described in commit9cea7e3715
, this is no longer needed because priority transaction selection (addPriorityTxs) was removed in commit272b25a6a9
.
This commit is contained in:
parent
094d9fda5c
commit
7036cf52aa
1 changed files with 0 additions and 4 deletions
|
@ -310,10 +310,6 @@ void BlockAssembler::addPackageTxs(int& nPackagesSelected, int& nDescendantsUpda
|
|||
// Keep track of entries that failed inclusion, to avoid duplicate work
|
||||
CTxMemPool::setEntries failedTx;
|
||||
|
||||
// Start by adding all descendants of previously added txs to mapModifiedTx
|
||||
// and modifying them for their already included ancestors
|
||||
UpdatePackagesForAdded(inBlock, mapModifiedTx);
|
||||
|
||||
CTxMemPool::indexed_transaction_set::index<ancestor_score>::type::iterator mi = m_mempool.mapTx.get<ancestor_score>().begin();
|
||||
CTxMemPool::txiter iter;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue