From 343328c6b8db85e58a1feea85f0d10e62967fa19 Mon Sep 17 00:00:00 2001 From: Satoshi Nakamoto Date: Sat, 28 Aug 2010 00:55:50 +0000 Subject: [PATCH] added -testsafemode switch -- version 0.3.11 release --- main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.cpp b/main.cpp index 17575607..76d30373 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 != "")