diff --git a/src/util.cpp b/src/util.cpp index e038d4096..9d684a96e 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -643,6 +643,7 @@ void ReadConfigFile(map& mapSettingsRet, } // If datadir is changed in .conf file: ClearDatadirCache(); + extern uint16_t BITCOIND_PORT; BITCOIND_PORT = GetArg("-rpcport",BITCOIND_PORT); fprintf(stderr,"from conf file %s RPC %u, used to be %u\n",ASSETCHAINS_SYMBOL,BITCOIND_PORT,BITCOIND_PORT); }