mirror of
https://github.com/monero-project/monero.git
synced 2024-12-24 12:39:59 +00:00
Fix in_peers/out_peers RPC operations
Original implementations could never have worked.
This commit is contained in:
parent
ece9bcf5c6
commit
628b78ae8a
1 changed files with 2 additions and 2 deletions
|
@ -1262,7 +1262,7 @@ bool t_rpc_command_executor::out_peers(uint64_t limit)
|
|||
|
||||
if (m_is_rpc)
|
||||
{
|
||||
if (!m_rpc_client->json_rpc_request(req, res, "out_peers", fail_message.c_str()))
|
||||
if (!m_rpc_client->rpc_request(req, res, "/out_peers", fail_message.c_str()))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -1294,7 +1294,7 @@ bool t_rpc_command_executor::in_peers(uint64_t limit)
|
|||
|
||||
if (m_is_rpc)
|
||||
{
|
||||
if (!m_rpc_client->json_rpc_request(req, res, "in_peers", fail_message.c_str()))
|
||||
if (!m_rpc_client->rpc_request(req, res, "/in_peers", fail_message.c_str()))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue