added -testsafemode switch

-- version 0.3.11 release
This commit is contained in:
Satoshi Nakamoto 2010-08-28 00:55:50 +00:00 committed by Gavin Andresen
parent d3631907d6
commit 343328c6b8
1 changed files with 2 additions and 0 deletions

View File

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