diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-02-26 23:12:55 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-02-26 23:12:55 +0000 |
| commit | 11a00df699ba00bf4749e062b6c7b319aa3cc5cb (patch) | |
| tree | a31b0bcc4714addd9859b7ca81d736975b0001ee /src/daemon/rpc_command_executor.cpp | |
| parent | beee286c7b08308f3193e7d2cb8d66f0e689da28 (diff) | |
| download | monzero-core-11a00df699ba00bf4749e062b6c7b319aa3cc5cb.tar.gz monzero-core-11a00df699ba00bf4749e062b6c7b319aa3cc5cb.tar.xz monzero-core-11a00df699ba00bf4749e062b6c7b319aa3cc5cb.zip | |
daemon: fix bc_dyn_stats via rpc
Diffstat (limited to 'src/daemon/rpc_command_executor.cpp')
| -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 b33736839..e1f23c37c 100644 --- a/src/daemon/rpc_command_executor.cpp +++ b/src/daemon/rpc_command_executor.cpp @@ -1494,7 +1494,7 @@ bool t_rpc_command_executor::print_blockchain_dynamic_stats(uint64_t nblocks) { return true; } - if (!m_rpc_client->rpc_request(fereq, feres, "/get_fee_estimate", fail_message.c_str())) + if (!m_rpc_client->json_rpc_request(fereq, feres, "get_fee_estimate", fail_message.c_str())) { return true; } @@ -1525,7 +1525,7 @@ bool t_rpc_command_executor::print_blockchain_dynamic_stats(uint64_t nblocks) bhreq.end_height = ires.height - 1; if (m_is_rpc) { - if (!m_rpc_client->rpc_request(bhreq, bhres, "/getblockheadersrange", fail_message.c_str())) + if (!m_rpc_client->json_rpc_request(bhreq, bhres, "getblockheadersrange", fail_message.c_str())) { return true; } |
