aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSatoshi Nakamoto <satoshin@gmx.com>2010-08-28 00:55:50 +0000
committerGavin Andresen <gavinandresen@gmail.com>2010-08-28 00:55:50 +0000
commit343328c6b8db85e58a1feea85f0d10e62967fa19 (patch)
treef26ecbc1350ff405cede435f8e34e48a4302eac1
parentd3631907d62f605b725b4cc433173cec15c9d082 (diff)
added -testsafemode switchv0.3.11_notexact
-- version 0.3.11 release
-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 != "")