Commit d49002ad authored by Fabian Olesen's avatar Fabian Olesen Committed by GitHub
Browse files

Merge pull request #12 from Infernoman/patch-1

Update for throne.conf
parents 4356b06d c553be17
Showing with 4 additions and 0 deletions
+4 -0
......@@ -21,6 +21,7 @@
#include "util.h"
#include "activethrone.h"
#include "throneman.h"
#include "throneconfig.h"
#include "spork.h"
#ifdef ENABLE_WALLET
#include "db.h"
......@@ -483,6 +484,9 @@ bool AppInit2(boost::thread_group& threadGroup)
LogPrintf("AppInit2 : parameter interaction: -bind set -> setting -listen=1\n");
}
// Process masternode config
throneConfig.read(GetThroneConfigFile());
if (mapArgs.count("-connect") && mapMultiArgs["-connect"].size() > 0) {
// when only connecting to trusted nodes, do not seed via DNS, or listen by default
if (SoftSetBoolArg("-dnsseed", false))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment