MainNet is the special case for the GUI
This commit is contained in:
parent
d33f69a447
commit
89ec3a2911
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue