Skip to content

Commit c24d075

Browse files
committed
Merge pull request #5356
7357893 Prioritize and display -testsafemode status in UI (dexX7)
2 parents cbf28c6 + 7357893 commit c24d075

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3221,12 +3221,12 @@ string GetWarnings(string strFor)
32213221
string strStatusBar;
32223222
string strRPC;
32233223

3224-
if (GetBoolArg("-testsafemode", false))
3225-
strRPC = "test";
3226-
32273224
if (!CLIENT_VERSION_IS_RELEASE)
32283225
strStatusBar = _("This is a pre-release test build - use at your own risk - do not use for mining or merchant applications");
32293226

3227+
if (GetBoolArg("-testsafemode", false))
3228+
strStatusBar = strRPC = "testsafemode enabled";
3229+
32303230
// Misc warnings like out of disk space and clock is wrong
32313231
if (strMiscWarning != "")
32323232
{

0 commit comments

Comments
 (0)