aboutsummaryrefslogtreecommitdiff
path: root/src/daemon
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2020-03-29 12:09:24 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2020-03-29 13:45:58 +0000
commit5ef7138d867ad2e406a01a3c141f9ab769da3592 (patch)
tree05d003f463133ddf0e0e81ca09a21e1ede7f69e8 /src/daemon
parentMerge pull request #6407 (diff)
downloadmonero-5ef7138d867ad2e406a01a3c141f9ab769da3592.tar.xz
daemon: fix print_net_stats RPC calls
Diffstat (limited to 'src/daemon')
-rw-r--r--src/daemon/rpc_command_executor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp
index 086808f8e..3870cdc65 100644
--- a/src/daemon/rpc_command_executor.cpp
+++ b/src/daemon/rpc_command_executor.cpp
@@ -695,11 +695,11 @@ bool t_rpc_command_executor::print_net_stats()
if (m_is_rpc)
{
- if (!m_rpc_client->json_rpc_request(net_stats_req, net_stats_res, "get_net_stats", fail_message.c_str()))
+ if (!m_rpc_client->rpc_request(net_stats_req, net_stats_res, "/get_net_stats", fail_message.c_str()))
{
return true;
}
- if (!m_rpc_client->json_rpc_request(limit_req, limit_res, "get_limit", fail_message.c_str()))
+ if (!m_rpc_client->rpc_request(limit_req, limit_res, "/get_limit", fail_message.c_str()))
{
return true;
}