Skip to content

Commit

Permalink
added -testsafemode switch
Browse files Browse the repository at this point in the history
-- version 0.3.11 release
  • Loading branch information
Satoshi Nakamoto authored and gavinandresen committed Aug 28, 2010
1 parent d363190 commit 343328c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 != "")
Expand Down

0 comments on commit 343328c

Please sign in to comment.