diff --git a/src/util.cpp b/src/util.cpp index c2d299e20..e038d4096 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -643,6 +643,8 @@ void ReadConfigFile(map& mapSettingsRet, } // If datadir is changed in .conf file: ClearDatadirCache(); + 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); } #ifndef WIN32