We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86e732d commit 020cabaCopy full SHA for 020caba
src/bench/mempool_eviction.cpp
@@ -108,7 +108,7 @@ static void MempoolEviction(benchmark::Bench& bench)
108
tx7.vout[1].scriptPubKey = CScript() << OP_7 << OP_EQUAL;
109
tx7.vout[1].nValue = 10 * COIN;
110
111
- CTxMemPool pool;
+ CTxMemPool& pool = *Assert(testing_setup->m_node.mempool);
112
LOCK2(cs_main, pool.cs);
113
// Create transaction references outside the "hot loop"
114
const CTransactionRef tx1_r{MakeTransactionRef(tx1)};
0 commit comments