diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-10-22 12:15:15 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-10-22 12:32:08 +0200 |
commit | faeb9a575367119dbff60c35fa2c13547718e179 (patch) | |
tree | d837186aa9c98a04a35040342e1aee9026d14d1f /src | |
parent | c001da306b29c46ef1e7421002c3aba3ff5ed514 (diff) | |
download | bitcoin-faeb9a575367119dbff60c35fa2c13547718e179.tar.xz |
remove unused CTxMemPool::info(const uint256& txid)
Diffstat (limited to 'src')
-rw-r--r-- | src/txmempool.cpp | 2 | ||||
-rw-r--r-- | src/txmempool.h | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/src/txmempool.cpp b/src/txmempool.cpp index b945659c0d..70084ea1d1 100644 --- a/src/txmempool.cpp +++ b/src/txmempool.cpp @@ -895,8 +895,6 @@ TxMempoolInfo CTxMemPool::info(const GenTxid& gtxid) const return GetInfo(i); } -TxMempoolInfo CTxMemPool::info(const uint256& txid) const { return info(GenTxid{false, txid}); } - void CTxMemPool::PrioritiseTransaction(const uint256& hash, const CAmount& nFeeDelta) { { diff --git a/src/txmempool.h b/src/txmempool.h index 1fd0c70891..c63522225a 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -789,7 +789,6 @@ public: AssertLockHeld(cs); return mapTx.project<0>(mapTx.get<index_by_wtxid>().find(wtxid)); } - TxMempoolInfo info(const uint256& hash) const; TxMempoolInfo info(const GenTxid& gtxid) const; std::vector<TxMempoolInfo> infoAll() const; |