aboutsummaryrefslogtreecommitdiff
path: root/src/bench/rpc_blockchain.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-01-25 12:22:03 +0100
committerMarcoFalke <falke.marco@gmail.com>2021-03-03 09:17:37 +0100
commitfa576b4532814b4bca1936d170cabd01fbc51960 (patch)
tree406f945a0fa46f6750f6a563e311c88932673f97 /src/bench/rpc_blockchain.cpp
parentcfce346508f1f7513a0cfa2cea7d7f8336d01c6b (diff)
Move MakeNoLogFileContext to common libtest_util, and use it in bench
Can be reviewed with --color-moved=dimmed-zebra
Diffstat (limited to 'src/bench/rpc_blockchain.cpp')
-rw-r--r--src/bench/rpc_blockchain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/rpc_blockchain.cpp b/src/bench/rpc_blockchain.cpp
index 78f8c6e6dc..c8886a4c23 100644
--- a/src/bench/rpc_blockchain.cpp
+++ b/src/bench/rpc_blockchain.cpp
@@ -15,7 +15,7 @@
namespace {
struct TestBlockAndIndex {
- TestingSetup test_setup{};
+ const std::unique_ptr<const TestingSetup> testing_setup{MakeNoLogFileContext<const TestingSetup>(CBaseChainParams::MAIN)};
CBlock block{};
uint256 blockHash{};
CBlockIndex blockindex{};