Skip to content

Commit 7036cf5

Browse files
committed
Delete UpdatePackagesForAdded at beginning of addPackageTxs.
As described in commit 9cea7e37158aa85119de2c81e93901da9e476ee5, this is no longer needed because priority transaction selection (addPriorityTxs) was removed in commit 272b25a.
1 parent 094d9fd commit 7036cf5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/node/miner.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -310,10 +310,6 @@ void BlockAssembler::addPackageTxs(int& nPackagesSelected, int& nDescendantsUpda
310310
// Keep track of entries that failed inclusion, to avoid duplicate work
311311
CTxMemPool::setEntries failedTx;
312312

313-
// Start by adding all descendants of previously added txs to mapModifiedTx
314-
// and modifying them for their already included ancestors
315-
UpdatePackagesForAdded(inBlock, mapModifiedTx);
316-
317313
CTxMemPool::indexed_transaction_set::index<ancestor_score>::type::iterator mi = m_mempool.mapTx.get<ancestor_score>().begin();
318314
CTxMemPool::txiter iter;
319315

0 commit comments

Comments
 (0)