diff --git a/src/txmempool.h b/src/txmempool.h index 64f032534..775c987a8 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -657,13 +657,6 @@ public: return (mapTx.count(hash) != 0); } - bool exists(const COutPoint& outpoint) const - { - LOCK(cs); - auto it = mapTx.find(outpoint.hash); - return (it != mapTx.end() && outpoint.n < it->GetTx().vout.size()); - } - CTransactionRef get(const uint256& hash) const; TxMempoolInfo info(const uint256& hash) const; std::vector infoAll() const;