Fix rpcport

This commit is contained in:
jl777
2017-09-25 11:44:10 +02:00
parent 2552250d89
commit 450f60749f
4 changed files with 22 additions and 21 deletions

View File

@@ -196,7 +196,7 @@ UniValue CallRPC(const string& strMethod, const UniValue& params)
{
std::string host = GetArg("-rpcconnect", "127.0.0.1");
int port = GetArg("-rpcport", BaseParams().RPCPort());
BITCOIND_PORT = port;
// Obtain event base
raii_event_base base = obtain_event_base();