Skip to content

Commit fa1fdb0

Browse files
author
MarcoFalke
committed
bench: Replace ::mempool globabl with test_setup.mempool
This is a refactor, since they are aliases for each other
1 parent fab1170 commit fa1fdb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bench/block_assemble.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ static void AssembleBlock(benchmark::State& state)
4242

4343
for (const auto& txr : txs) {
4444
TxValidationState state;
45-
bool ret{::AcceptToMemoryPool(::mempool, state, txr, nullptr /* plTxnReplaced */, false /* bypass_limits */, /* nAbsurdFee */ 0)};
45+
bool ret{::AcceptToMemoryPool(*test_setup.m_node.mempool, state, txr, nullptr /* plTxnReplaced */, false /* bypass_limits */, /* nAbsurdFee */ 0)};
4646
assert(ret);
4747
}
4848
}

0 commit comments

Comments
 (0)