diff options
| author | Drew Rasmussen <[email protected]> | 2018-03-14 23:10:39 -0700 |
|---|---|---|
| committer | Drew Rasmussen <[email protected]> | 2018-03-14 23:10:39 -0700 |
| commit | bb079a0e2c20beb22456c91ad9e11beeae7cdc34 (patch) | |
| tree | 2a72be44e234f81abb5dc9e6635897a27ef1f8e1 /src/miner.h | |
| parent | Merge #10637: Coin Selection with Murch's algorithm (diff) | |
| download | discoin-bb079a0e2c20beb22456c91ad9e11beeae7cdc34.tar.xz discoin-bb079a0e2c20beb22456c91ad9e11beeae7cdc34.zip | |
Remove unused variable in SortForBlock
Diffstat (limited to 'src/miner.h')
| -rw-r--r-- | src/miner.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/miner.h b/src/miner.h index 9c086332d..33a22ba75 100644 --- a/src/miner.h +++ b/src/miner.h @@ -185,7 +185,7 @@ private: * or if the transaction's cached data in mapTx is incorrect. */ bool SkipMapTxEntry(CTxMemPool::txiter it, indexed_modified_transaction_set &mapModifiedTx, CTxMemPool::setEntries &failedTx); /** Sort the package in an order that is valid to appear in a block */ - void SortForBlock(const CTxMemPool::setEntries& package, CTxMemPool::txiter entry, std::vector<CTxMemPool::txiter>& sortedEntries); + void SortForBlock(const CTxMemPool::setEntries& package, std::vector<CTxMemPool::txiter>& sortedEntries); /** Add descendants of given transactions to mapModifiedTx with ancestor * state updated assuming given transactions are inBlock. Returns number * of updated descendants. */ |