We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d33f69a + 89ec3a2 commit fb4f40aCopy full SHA for fb4f40a
src/qt/bitcoin.cpp
@@ -448,12 +448,12 @@ int main(int argc, char *argv[])
448
fSelParFromCLFailed = true;
449
}
450
#ifdef ENABLE_WALLET
451
- // Parse URIs on command line -- this can affect TestNet() / RegTest() mode
+ // Parse URIs on command line -- this can affect Params()
452
if (!PaymentServer::ipcParseCommandLine(argc, argv))
453
exit(0);
454
#endif
455
456
- bool isaTestNet = TestNet() || RegTest();
+ bool isaTestNet = Params().NetworkID() != CChainParams::MAIN;
457
458
// Do not refer to data directory yet, this can be overridden by Intro::pickDataDirectory
459
0 commit comments