aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authors_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2010-08-25 17:53:09 +0000
committers_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2010-08-25 17:53:09 +0000
commit5b721607b1057df4dfe97f80d235ed372312f398 (patch)
tree2c781a9c615500e220b33436eab2863201ee5ce1
parent2ef9cfa5b81877b1023f2fcb82f5a638b1eb013c (diff)
added -testsafemode switch
-- version 0.3.11 release git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@145 1a98c847-1fd6-4fd8-948a-caf3550aa51b
-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 != "")