mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-05 08:48:03 +00:00
Report correct target for callRPC.
This commit is contained in:
@@ -601,7 +601,7 @@ Json::Value callRPC(const std::string& strIp, const int iPort, const std::string
|
|||||||
{
|
{
|
||||||
// Connect to localhost
|
// Connect to localhost
|
||||||
if (!theConfig.QUIET)
|
if (!theConfig.QUIET)
|
||||||
std::cerr << "Connecting to: " << theConfig.RPC_IP << ":" << theConfig.RPC_PORT << std::endl;
|
std::cerr << "Connecting to: " << strIp << ":" << iPort << std::endl;
|
||||||
|
|
||||||
boost::asio::ip::tcp::endpoint
|
boost::asio::ip::tcp::endpoint
|
||||||
endpoint(boost::asio::ip::address::from_string(strIp), iPort);
|
endpoint(boost::asio::ip::address::from_string(strIp), iPort);
|
||||||
|
|||||||
Reference in New Issue
Block a user