Skip to content

Commit

Permalink
UI: only show disclaimer for mainnet (thanks @dexX7)
Browse files Browse the repository at this point in the history
  • Loading branch information
zathras-crypto committed May 20, 2015
1 parent 4baf808 commit e92dee2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/qt/omnicore_init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,9 @@ static bool showDisclaimer()
if (GetBoolArg("-min", false))
return false;

/* //TODO replace with 0.10 compatible mainnet check (see networkstyle)
// Only mainnet users face the risk of monetary loss
if (Params().NetworkID() != CChainParams::MAIN)
if (Params().NetworkIDString() != "main")
return false;
*/

QSettings settings;

Expand Down

0 comments on commit e92dee2

Please sign in to comment.