diff --git a/src/init.cpp b/src/init.cpp index d14a0baef1b..5a3134f9d63 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1415,10 +1415,10 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info) cache_sizes.block_tree_db, cache_sizes.coins_db, cache_sizes.coins, - false, - false, - ShutdownRequested, - []() { + /*block_tree_db_in_memory=*/false, + /*coins_db_in_memory=*/false, + /*shutdown_requested=*/ShutdownRequested, + /*coins_error_cb=*/[]() { uiInterface.ThreadSafeMessageBox( _("Error reading from database, shutting down."), "", CClientUIInterface::MSG_ERROR); @@ -1476,7 +1476,7 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info) chainparams.GetConsensus(), check_blocks, args.GetIntArg("-checklevel", DEFAULT_CHECKLEVEL), - static_cast(GetTime)); + /*get_unix_time_seconds=*/static_cast(GetTime)); } catch (const std::exception& e) { LogPrintf("%s\n", e.what()); maybe_verify_error = ChainstateLoadVerifyError::ERROR_GENERIC_FAILURE; diff --git a/src/test/util/setup_common.cpp b/src/test/util/setup_common.cpp index 38b07b35baa..dcb2e75932a 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(GetTime)); + /*get_unix_time_seconds=*/static_cast(GetTime)); assert(!maybe_verify_error.has_value()); BlockValidationState state;