diff --git a/src/txmempool.h b/src/txmempool.h --- a/src/txmempool.h +++ b/src/txmempool.h @@ -863,19 +863,6 @@ bool GetCoin(const COutPoint &outpoint, Coin &coin) const override; }; -// We want to sort transactions by coin age priority -typedef std::pair TxCoinAgePriority; - -struct TxCoinAgePriorityCompare { - bool operator()(const TxCoinAgePriority &a, const TxCoinAgePriority &b) { - if (a.first == b.first) { - // Reverse order to make sort less than - return CompareTxMemPoolEntryByScore()(*(b.second), *(a.second)); - } - return a.first < b.first; - } -}; - /** * DisconnectedBlockTransactions *