mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-28 04:52:36 +02:00
bench: Replace ::mempool globabl with test_setup.mempool
This is a refactor, since they are aliases for each other
This commit is contained in:
parent
fab1170964
commit
fa1fdb02fc
@ -42,7 +42,7 @@ static void AssembleBlock(benchmark::State& state)
|
||||
|
||||
for (const auto& txr : txs) {
|
||||
TxValidationState state;
|
||||
bool ret{::AcceptToMemoryPool(::mempool, state, txr, nullptr /* plTxnReplaced */, false /* bypass_limits */, /* nAbsurdFee */ 0)};
|
||||
bool ret{::AcceptToMemoryPool(*test_setup.m_node.mempool, state, txr, nullptr /* plTxnReplaced */, false /* bypass_limits */, /* nAbsurdFee */ 0)};
|
||||
assert(ret);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user