aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 1757560788..76d30373f5 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 != "")