aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordexX7 <ugithub@bitwatch.co>2014-11-23 13:10:31 +0100
committerdexX7 <ugithub@bitwatch.co>2014-11-23 13:10:31 +0100
commit7357893396eb9ec6aafbce52bede0b7b31a97ddc (patch)
treed6e40a3638f87c5a8626b5c37dcaf7fec253d5ba /src
parentcbf28c6619fe348a258dfd7d08bdbd2392d07511 (diff)
downloadbitcoin-7357893396eb9ec6aafbce52bede0b7b31a97ddc.tar.xz
Prioritize and display -testsafemode status in UI
Like in a real world situation, a safe mode test should also be visible in the UI. A test of safe mode is furthermore mostly relevant for developers, so it should not be overwritten by a warning about a pre-release test build.
Diffstat (limited to 'src')
-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 != "")
{