aboutsummaryrefslogtreecommitdiff
path: root/src/test/util/setup_common.cpp
diff options
context:
space:
mode:
authorCarl Dong <contact@carldong.me>2021-12-23 17:38:09 -0500
committerCarl Dong <contact@carldong.me>2021-12-23 17:38:09 -0500
commite3544c864e3e56867de25b8db7b012d58b378050 (patch)
tree1b0995db6b359edd5054fbe812b7f19d03887d77 /src/test/util/setup_common.cpp
parent3401630417d994b53ff3a89db2ea759ab1ec6f0f (diff)
init: Use clang-tidy named args syntax
Diffstat (limited to 'src/test/util/setup_common.cpp')
-rw-r--r--src/test/util/setup_common.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/util/setup_common.cpp b/src/test/util/setup_common.cpp
index 38b07b35ba..dcb2e75932 100644
--- a/src/test/util/setup_common.cpp
+++ b/src/test/util/setup_common.cpp
@@ -191,8 +191,8 @@ TestingSetup::TestingSetup(const std::string& chainName, const std::vector<const
m_cache_sizes.block_tree_db,
m_cache_sizes.coins_db,
m_cache_sizes.coins,
- true,
- true);
+ /*block_tree_db_in_memory=*/true,
+ /*coins_db_in_memory=*/true);
assert(!maybe_load_error.has_value());
auto maybe_verify_error = VerifyLoadedChainstate(
@@ -202,7 +202,7 @@ TestingSetup::TestingSetup(const std::string& chainName, const std::vector<const
chainparams.GetConsensus(),
m_args.GetIntArg("-checkblocks", DEFAULT_CHECKBLOCKS),
m_args.GetIntArg("-checklevel", DEFAULT_CHECKLEVEL),
- static_cast<int64_t(*)()>(GetTime));
+ /*get_unix_time_seconds=*/static_cast<int64_t(*)()>(GetTime));
assert(!maybe_verify_error.has_value());
BlockValidationState state;