aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-11-24 08:36:46 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2014-11-24 08:52:31 +0100
commitc24d07554b18f69a9c5ebf79b48af90d63f16ccb (patch)
treed6e40a3638f87c5a8626b5c37dcaf7fec253d5ba /src/main.cpp
parentcbf28c6619fe348a258dfd7d08bdbd2392d07511 (diff)
parent7357893396eb9ec6aafbce52bede0b7b31a97ddc (diff)
Merge pull request #5356
7357893 Prioritize and display -testsafemode status in UI (dexX7)
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 17fa765e8f..a3fe53b0e4 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -3221,12 +3221,12 @@ string GetWarnings(string strFor)
string strStatusBar;
string strRPC;
- if (GetBoolArg("-testsafemode", false))
- strRPC = "test";
-
if (!CLIENT_VERSION_IS_RELEASE)
strStatusBar = _("This is a pre-release test build - use at your own risk - do not use for mining or merchant applications");
+ if (GetBoolArg("-testsafemode", false))
+ strStatusBar = strRPC = "testsafemode enabled";
+
// Misc warnings like out of disk space and clock is wrong
if (strMiscWarning != "")
{