From 5ae7b70ae644ee52b6ebcd76ea2957225c8aa4b5 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Thu, 19 Sep 2019 18:05:56 +0100 Subject: [PATCH] Disable -shrinkdebugfile command --- src/init.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/init.cpp b/src/init.cpp index bbc6f3782..083aabb5a 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -483,7 +483,7 @@ std::string HelpMessage(HelpMessageMode mode) strUsage += HelpMessageOpt("-regtest", "Enter regression test mode, which uses a special chain in which blocks can be solved instantly. " "This is intended for regression testing tools and app development."); } - strUsage += HelpMessageOpt("-shrinkdebugfile", _("Shrink debug.log file on client startup (default: 1 when no -debug)")); + // strUsage += HelpMessageOpt("-shrinkdebugfile", _("Shrink debug.log file on client startup (default: 1 when no -debug)")); strUsage += HelpMessageOpt("-testnet", _("Use the test network")); strUsage += HelpMessageGroup(_("Node relay options:")); @@ -1191,8 +1191,8 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler) #ifndef WIN32 CreatePidFile(GetPidFile(), getpid()); #endif - if (GetBoolArg("-shrinkdebugfile", !fDebug)) - ShrinkDebugFile(); + // if (GetBoolArg("-shrinkdebugfile", !fDebug)) + // ShrinkDebugFile(); if (fPrintToDebugLog) OpenDebugLog();