Skip to content

Commit

Permalink
Merge pull request #5356
Browse files Browse the repository at this point in the history
7357893 Prioritize and display -testsafemode status in UI (dexX7)
  • Loading branch information
laanwj committed Nov 24, 2014
2 parents cbf28c6 + 7357893 commit c24d075
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 != "")
{
Expand Down

0 comments on commit c24d075

Please sign in to comment.