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

@@ -29,7 +29,7 @@ static void AddTx(const CTransactionRef& tx, CTxMemPool& pool) EXCLUSIVE_LOCKS_R
bool spendsCoinbase = false;
unsigned int sigOpCost = 4;
LockPoints lp;
AddToMempool(pool, CTxMemPoolEntry(tx, 1000, nTime, nHeight, sequence, spendsCoinbase, sigOpCost, lp));
AddToMempool(pool, CTxMemPoolEntry(TxGraph::Ref(), tx, 1000, nTime, nHeight, sequence, spendsCoinbase, sigOpCost, lp));
}
struct Available {