mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-31 10:41:08 +00:00
fix: remove redundant mempool lock in ChainImpl::isInMempool()
This commit is contained in:
parent
d5ed4ba9d8
commit
2909655fba
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user