fix: remove redundant mempool lock in ChainImpl::isInMempool()

This commit is contained in:
Fibonacci747
2025-11-25 20:22:39 +01:00
committed by GitHub
parent d5ed4ba9d8
commit 2909655fba

View File

@@ -658,7 +658,6 @@ public:
bool isInMempool(const Txid& txid) override
{
if (!m_node.mempool) return false;
LOCK(m_node.mempool->cs);
return m_node.mempool->exists(txid);
}
bool hasDescendantsInMempool(const Txid& txid) override