Make CTxMemPoolEntry derive from TxGraph::Ref

This commit is contained in:
Suhas Daftuar
2025-01-09 10:36:34 -05:00
parent 92b0079fe3
commit 29a94d5b2f
11 changed files with 16 additions and 12 deletions

View File

@@ -720,7 +720,7 @@ public:
{
if (!m_node.mempool) return {};
LockPoints lp;
CTxMemPoolEntry entry(tx, 0, 0, 0, 0, false, 0, lp);
CTxMemPoolEntry entry(TxGraph::Ref(), tx, 0, 0, 0, 0, false, 0, lp);
LOCK(m_node.mempool->cs);
return m_node.mempool->CheckPackageLimits({tx}, entry.GetTxSize());
}