diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2020-04-21 08:46:39 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2020-04-21 08:46:39 -0500 |
| commit | cb8f4280bb0361cf974ee10bfc85588480517428 (patch) | |
| tree | ebe8b18cda23e67d38886889084add70a68e72cc | |
| parent | 06c81b6527be94c66a31a0ec23c56c5a2d602b69 (diff) | |
| parent | 5ef7138d867ad2e406a01a3c141f9ab769da3592 (diff) | |
| download | monzero-core-cb8f4280bb0361cf974ee10bfc85588480517428.tar.gz monzero-core-cb8f4280bb0361cf974ee10bfc85588480517428.tar.xz monzero-core-cb8f4280bb0361cf974ee10bfc85588480517428.zip | |
Merge pull request #6408
5ef7138 daemon: fix print_net_stats RPC calls (moneromooo-monero)
| -rw-r--r-- | src/daemon/rpc_command_executor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemon/rpc_command_executor.cpp b/src/daemon/rpc_command_executor.cpp index 80b14d534..034d49918 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; } |
