mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
Leave IRC enabled by default on testnet
As testnet has neither DNS seeds or built-in seed addresses to bootstrap from.
This commit is contained in:
@@ -259,6 +259,11 @@ bool AppInit2(int argc, char* argv[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
fTestNet = GetBoolArg("-testnet");
|
fTestNet = GetBoolArg("-testnet");
|
||||||
|
if (fTestNet)
|
||||||
|
{
|
||||||
|
SoftSetBoolArg("-irc", true);
|
||||||
|
}
|
||||||
|
|
||||||
fDebug = GetBoolArg("-debug");
|
fDebug = GetBoolArg("-debug");
|
||||||
|
|
||||||
#if !defined(WIN32) && !defined(QT_GUI)
|
#if !defined(WIN32) && !defined(QT_GUI)
|
||||||
|
|||||||
Reference in New Issue
Block a user