Skip to content

Commit

Permalink
MainNet is the special case for the GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
jtimon committed Mar 8, 2014
1 parent d33f69a commit 89ec3a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qt/bitcoin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -448,12 +448,12 @@ int main(int argc, char *argv[])
fSelParFromCLFailed = true;
}
#ifdef ENABLE_WALLET
// Parse URIs on command line -- this can affect TestNet() / RegTest() mode
// Parse URIs on command line -- this can affect Params()
if (!PaymentServer::ipcParseCommandLine(argc, argv))
exit(0);
#endif

bool isaTestNet = TestNet() || RegTest();
bool isaTestNet = Params().NetworkID() != CChainParams::MAIN;

// Do not refer to data directory yet, this can be overridden by Intro::pickDataDirectory

Expand Down

0 comments on commit 89ec3a2

Please sign in to comment.