diff --git a/src/init.cpp b/src/init.cpp index a4bfe393f7fc11452c003f3ea92b0dfee7c082a9..706912a07b32a68dc8022506a891a91dc714805f 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -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))