diff --git a/src/txmempool.h b/src/txmempool.h --- a/src/txmempool.h +++ b/src/txmempool.h @@ -699,12 +699,6 @@ return mapTx.count(hash) != 0; } - bool exists(const COutPoint &outpoint) const { - LOCK(cs); - auto it = mapTx.find(outpoint.GetTxId()); - return it != mapTx.end() && outpoint.GetN() < it->GetTx().vout.size(); - } - CTransactionRef get(const uint256 &hash) const; TxMempoolInfo info(const uint256 &hash) const; std::vector infoAll() const;