mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-21 15:50:07 +01:00
Move common package version code to init/common
This commit is contained in:
@@ -756,14 +756,7 @@ void InitParameterInteraction(ArgsManager& args)
|
||||
void InitLogging(const ArgsManager& args)
|
||||
{
|
||||
init::SetLoggingOptions(args);
|
||||
|
||||
std::string version_string = FormatFullVersion();
|
||||
#ifdef DEBUG
|
||||
version_string += " (debug build)";
|
||||
#else
|
||||
version_string += " (release build)";
|
||||
#endif
|
||||
LogPrintf(PACKAGE_NAME " version %s\n", version_string);
|
||||
init::LogPackageVersion();
|
||||
}
|
||||
|
||||
namespace { // Variables internal to initialization process only
|
||||
|
||||
Reference in New Issue
Block a user