diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-04-11 10:35:31 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-04-17 10:20:54 -0400 |
commit | fa1fdb02fccd0f670f7b08ee61c249f04d0db17f (patch) | |
tree | 0f8504551268bcd5713ab956f1f9e21a80f2b16c /src/bench/block_assemble.cpp | |
parent | fab117096446ab63d1f38c1ef6edbc94a5d4ab52 (diff) | |
download | bitcoin-fa1fdb02fccd0f670f7b08ee61c249f04d0db17f.tar.xz |
bench: Replace ::mempool globabl with test_setup.mempool
This is a refactor, since they are aliases for each other
Diffstat (limited to 'src/bench/block_assemble.cpp')
-rw-r--r-- | src/bench/block_assemble.cpp | 2 |
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); } } |