This commit is contained in:
jl777
2017-09-25 12:02:02 +02:00
parent e4bc80cf7a
commit ad9a8c35d6
2 changed files with 2 additions and 1 deletions

View File

@@ -644,7 +644,7 @@ void ReadConfigFile(map<string, string>& mapSettingsRet,
// If datadir is changed in .conf file:
ClearDatadirCache();
extern uint16_t BITCOIND_PORT;
BITCOIND_PORT = GetArg("-rpcport",BITCOIND_PORT);
BITCOIND_PORT = GetArg("-rpcport",BaseParams().RPCPort());
fprintf(stderr,"from conf file %s RPC %u, used to be %u\n",ASSETCHAINS_SYMBOL,BITCOIND_PORT,BITCOIND_PORT);
}