Merge pull request #5356
7357893
Prioritize and display -testsafemode status in UI (dexX7)
This commit is contained in:
commit
c24d07554b
@ -3221,12 +3221,12 @@ string GetWarnings(string strFor)
|
|||||||
string strStatusBar;
|
string strStatusBar;
|
||||||
string strRPC;
|
string strRPC;
|
||||||
|
|
||||||
if (GetBoolArg("-testsafemode", false))
|
|
||||||
strRPC = "test";
|
|
||||||
|
|
||||||
if (!CLIENT_VERSION_IS_RELEASE)
|
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");
|
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
|
// Misc warnings like out of disk space and clock is wrong
|
||||||
if (strMiscWarning != "")
|
if (strMiscWarning != "")
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user