mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-26 03:03:22 -03: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue