Eliminate unnecessary call to UpdatePackagesForAdded

This is unnecessary now that priority transaction selection is gone.
This commit is contained in:
Suhas Daftuar
2017-04-12 10:55:57 -04:00
parent 22e301a3d5
commit 9cea7e3715

View File

@@ -351,10 +351,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 = mempool.mapTx.get<ancestor_score>().begin();
CTxMemPool::txiter iter;