daemon: fix status command when run from command line

This commit is contained in:
moneromooo-monero 2016-01-11 21:50:41 +00:00
parent 67bbb56a6c
commit eaf4dcd747
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -277,7 +277,7 @@ bool t_rpc_command_executor::show_status() {
{
return true;
}
if (!m_rpc_client->rpc_request(mreq, mres, "mining_status", fail_message.c_str()))
if (!m_rpc_client->rpc_request(mreq, mres, "/mining_status", fail_message.c_str()))
{
return true;
}