Satoshi MailBeta Open in Satoshi Mail

added -testsafemode switch -- version 0.3.11 release

Commit by Satoshi Nakamoto (Satoshi Nakamoto) on 28 August 2010 · release v0.3.11_notexact · 1 files, +2 −0

Open in Satoshi Mail View on GitHub

Files changed

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 != "")