mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
Merge pull request #3823
89ec3a2
MainNet is the special case for the GUI (jtimon)
This commit is contained in:
commit
fb4f40a0dc
@ -448,12 +448,12 @@ int main(int argc, char *argv[])
|
|||||||
fSelParFromCLFailed = true;
|
fSelParFromCLFailed = true;
|
||||||
}
|
}
|
||||||
#ifdef ENABLE_WALLET
|
#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))
|
if (!PaymentServer::ipcParseCommandLine(argc, argv))
|
||||||
exit(0);
|
exit(0);
|
||||||
#endif
|
#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
|
// Do not refer to data directory yet, this can be overridden by Intro::pickDataDirectory
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user