Skip to content

Commit faeb9a5

Browse files
author
MarcoFalke
committed
remove unused CTxMemPool::info(const uint256& txid)
1 parent c001da3 commit faeb9a5

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/txmempool.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -895,8 +895,6 @@ TxMempoolInfo CTxMemPool::info(const GenTxid& gtxid) const
895895
return GetInfo(i);
896896
}
897897

898-
TxMempoolInfo CTxMemPool::info(const uint256& txid) const { return info(GenTxid{false, txid}); }
899-
900898
void CTxMemPool::PrioritiseTransaction(const uint256& hash, const CAmount& nFeeDelta)
901899
{
902900
{

src/txmempool.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,6 @@ class CTxMemPool
789789
AssertLockHeld(cs);
790790
return mapTx.project<0>(mapTx.get<index_by_wtxid>().find(wtxid));
791791
}
792-
TxMempoolInfo info(const uint256& hash) const;
793792
TxMempoolInfo info(const GenTxid& gtxid) const;
794793
std::vector<TxMempoolInfo> infoAll() const;
795794

0 commit comments

Comments
 (0)