aboutsummaryrefslogtreecommitdiff
path: root/src/bench
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-04-11 10:35:31 -0400
committerMarcoFalke <falke.marco@gmail.com>2020-04-17 10:20:54 -0400
commitfa1fdb02fccd0f670f7b08ee61c249f04d0db17f (patch)
tree0f8504551268bcd5713ab956f1f9e21a80f2b16c /src/bench
parentfab117096446ab63d1f38c1ef6edbc94a5d4ab52 (diff)
bench: Replace ::mempool globabl with test_setup.mempool
This is a refactor, since they are aliases for each other
Diffstat (limited to 'src/bench')
-rw-r--r--src/bench/block_assemble.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/block_assemble.cpp b/src/bench/block_assemble.cpp
index 594ca4967d..1a0084c915 100644
--- a/src/bench/block_assemble.cpp
+++ b/src/bench/block_assemble.cpp
@@ -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);
}
}