aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 0171f1470e..ebd4bbd15e 100644
--- a/main.cpp
+++ b/main.cpp
@@ -1793,6 +1793,8 @@ string GetWarnings(string strFor)
int nPriority = 0;
string strStatusBar;
string strRPC;
+ if (mapArgs.count("-testsafemode"))
+ strRPC = "test";
// Misc warnings like out of disk space and clock is wrong
if (strMiscWarning != "")