Skip to content

Commit c59aedc

Browse files
committed
[trivial] Dead code removal
1 parent 02d64bd commit c59aedc

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/miner.cpp

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
#include "validationinterface.h"
2727

2828
#include <algorithm>
29-
#include <boost/thread.hpp>
30-
#include <boost/tuple/tuple.hpp>
3129
#include <queue>
3230
#include <utility>
3331

@@ -46,17 +44,6 @@ uint64_t nLastBlockTx = 0;
4644
uint64_t nLastBlockSize = 0;
4745
uint64_t nLastBlockWeight = 0;
4846

49-
class ScoreCompare
50-
{
51-
public:
52-
ScoreCompare() {}
53-
54-
bool operator()(const CTxMemPool::txiter a, const CTxMemPool::txiter b)
55-
{
56-
return CompareTxMemPoolEntryByScore()(*b,*a); // Convert to less than
57-
}
58-
};
59-
6047
int64_t UpdateTime(CBlockHeader* pblock, const Consensus::Params& consensusParams, const CBlockIndex* pindexPrev)
6148
{
6249
int64_t nOldTime = pblock->nTime;

0 commit comments

Comments
 (0)