From 9cea7e37158aa85119de2c81e93901da9e476ee5 Mon Sep 17 00:00:00 2001 From: Suhas Daftuar Date: Wed, 12 Apr 2017 10:55:57 -0400 Subject: [PATCH] Eliminate unnecessary call to UpdatePackagesForAdded This is unnecessary now that priority transaction selection is gone. --- src/miner.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/miner.cpp b/src/miner.cpp index f1942ec5704..e0e93fd9cce 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -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::type::iterator mi = mempool.mapTx.get().begin(); CTxMemPool::txiter iter;