From 22378adbe5c7c723c2fa91c162e37a2ae1f80fb3 Mon Sep 17 00:00:00 2001 From: Alex Morcos Date: Tue, 27 Jun 2017 14:10:03 -0400 Subject: [PATCH] Remove no longer used mempool.exists(outpoint) --- src/txmempool.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/txmempool.h b/src/txmempool.h index 78ac3c209bc..be9e83eb4bf 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -618,13 +618,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;